mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-03 16:39:25 +01:00
Fixed an infinite loop problem in the new invalidCommand code.
This commit is contained in:
parent
a34589cce7
commit
186239ee84
@ -402,6 +402,8 @@ class IrcObjectProxy:
|
||||
name = canonicalName(self.args[0])
|
||||
cbs = findCallbackForCommand(self, name)
|
||||
if len(cbs) == 0:
|
||||
if self.irc.nick == self.msg.nick:
|
||||
return
|
||||
for cb in self.irc.callbacks:
|
||||
if isinstance(cb, PrivmsgRegexp):
|
||||
for (r, _) in cb.res:
|
||||
|
Loading…
Reference in New Issue
Block a user