diff --git a/plugins/Anonymous/plugin.py b/plugins/Anonymous/plugin.py index 89b411377..da845c9c1 100644 --- a/plugins/Anonymous/plugin.py +++ b/plugins/Anonymous/plugin.py @@ -51,7 +51,7 @@ class Anonymous(callbacks.Plugin): def _preCheck(self, irc, msg, target, action): if self.registryValue('requireRegistration'): try: - _ = ircdb.users.getUser(msg.prefix) + foo = ircdb.users.getUser(msg.prefix) except KeyError: irc.errorNotRegistered(Raise=True) capability = self.registryValue('requireCapability')