1
0
mirror of https://github.com/Mikaela/Limnoria.git synced 2025-01-30 22:24:20 +01:00

Anonymous: bug fix (_ was used as a temporary variable name)

This commit is contained in:
Valentin Lorentz 2011-06-26 11:12:28 +02:00
parent 509a6c1780
commit a815f11e51

View File

@ -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')