Explorar el Código

bin/ircd: [bots] port as int

Dastan-glitch hace 3 años
padre
commit
743789de0c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      bin/ircd/script/bots/taubot.py

+ 1 - 1
bin/ircd/script/bots/taubot.py

@@ -19,7 +19,7 @@ args = parser.parse_args()
 channels = [args.channel, args.alt_chan] if args.alt_chan is not None else args.channel
 
 ircc = irc.IRC()
-ircc.connect(args.server, args.port, channels, args.nickname)
+ircc.connect(args.server,int(args.port), channels, args.nickname)
 
 while True:
     with open(args.pipe) as handle: