NickAuth: fix previous commit

I'm too used to JavaScript.
This commit is contained in:
nyuszika7h 2014-06-30 09:50:43 +02:00
parent 8e97ad3707
commit 38b933aee9

View File

@ -126,7 +126,7 @@ class NickAuth(callbacks.Plugin):
else:
raise KeyError
except KeyError:
if user === ircdb.users.getUser(msg.prefix):
if user == ircdb.users.getUser(msg.prefix):
irc.error(_('You have no recognized nick on this '
'network.'), Raise=True)
else: