mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-23 19:22:45 +01:00
Anonymous: bug fix (_ was used as a temporary variable name)
This commit is contained in:
parent
509a6c1780
commit
a815f11e51
@ -51,7 +51,7 @@ class Anonymous(callbacks.Plugin):
|
|||||||
def _preCheck(self, irc, msg, target, action):
|
def _preCheck(self, irc, msg, target, action):
|
||||||
if self.registryValue('requireRegistration'):
|
if self.registryValue('requireRegistration'):
|
||||||
try:
|
try:
|
||||||
_ = ircdb.users.getUser(msg.prefix)
|
foo = ircdb.users.getUser(msg.prefix)
|
||||||
except KeyError:
|
except KeyError:
|
||||||
irc.errorNotRegistered(Raise=True)
|
irc.errorNotRegistered(Raise=True)
|
||||||
capability = self.registryValue('requireCapability')
|
capability = self.registryValue('requireCapability')
|
||||||
|
Loading…
Reference in New Issue
Block a user