Fix bug when connecting to Freenode

master
luk3yx 2018-10-19 15:34:35 +13:00
parent 86cb74b89e
commit 266b98356b
1 changed files with 1 additions and 1 deletions

View File

@ -268,7 +268,7 @@ def _handler(irc, hostmask, args):
def _handler(irc, hostmask, args):
if len(args) < 3 or not irc.ns_identity:
return
elif args[1] == 'ACK' and args[2].replace(':', '', 1) == 'sasl':
elif args[1] == 'ACK' and args[2].replace(':', '', 1).startswith('sasl'):
irc.quote('AUTHENTICATE PLAIN', force = True)
@Handler('AUTHENTICATE')