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
1 changed files with 1 additions and 1 deletions

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: