mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 11:42:52 +01:00
Modified NickAuth to match the new WHOX
This commit is contained in:
parent
2b030ac178
commit
e732931688
@ -199,10 +199,11 @@ class NickAuth(callbacks.Plugin):
|
||||
self._auth(irc, msg.prefix, account)
|
||||
|
||||
def do354(self, irc, msg):
|
||||
if len(msg.args) != 6 or msg.args[1] != '1':
|
||||
if len(msg.args) != 9 or msg.args[1] != '1':
|
||||
return
|
||||
|
||||
(__, ___, ident, host, nick, account) = msg.args
|
||||
# irc.nick 1 user ip host nick status account gecos
|
||||
(n, t, user, ip, host, nick, status, account, gecos) = msg.args
|
||||
prefix = '%s!%s@%s' % (nick, ident, host)
|
||||
user = ircdb.users.getUserFromNick(irc.network, account)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user