Fix the doubling of commands when supybot.defaultIgnore is true and a user is identified
This commit is contained in:
@ -257,9 +257,8 @@ class Mess(callbacks.PluginRegexp):
|
||||
if checkIgnored(msg.prefix):
|
||||
return msg
|
||||
try:
|
||||
id = ircdb.users.getUserId(msg.prefix)
|
||||
user = users.getUser(id)
|
||||
return msg
|
||||
if ircdb.users.getUser(msg.prefix):
|
||||
return msg
|
||||
except:
|
||||
pass
|
||||
cmd, args = (s.split(None, 1) + [None])[:2]
|
||||
|
Reference in New Issue
Block a user