From 38b933aee96c0305f603169f365721e2cd766764 Mon Sep 17 00:00:00 2001 From: nyuszika7h Date: Mon, 30 Jun 2014 09:50:43 +0200 Subject: [PATCH] NickAuth: fix previous commit I'm too used to JavaScript. --- plugins/NickAuth/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/NickAuth/plugin.py b/plugins/NickAuth/plugin.py index ad3780930..60ac7075b 100644 --- a/plugins/NickAuth/plugin.py +++ b/plugins/NickAuth/plugin.py @@ -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: