Fixed inviting back

This commit is contained in:
Juhani Haverinen 2015-04-03 20:25:12 +03:00
parent 1272ffbd28
commit 47f4198cfa
1 changed files with 1 additions and 1 deletions

View File

@ -581,7 +581,7 @@ def parse((line, irc)):
if getaccountcheckvalue(id) == None:
setaccountcheckvalue(id, '') # Mark as failed, '' is used because None is already reserved
elif line[1] == 'INVITE' and line[2] == irc.nick and line[3][1:] in irc.chan.split(' '):
if isauthorized(irc, line[3], nick):
if isauthorized(irc, line[3][1:], nick):
irc.send('JOIN ' + line[3])
elif line[1] == '482':
irc.msg(line[3], 'Not op')