mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-23 19:22:45 +01:00
Added check for rateLimiting in Privmsg.doPrivmsg (didn't check before)
This commit is contained in:
parent
66236e1f34
commit
7d2a096e7a
@ -368,8 +368,9 @@ class Privmsg(irclib.IrcCallback):
|
||||
if m and self.isCommand(canonicalName(m.group(1))):
|
||||
self.rateLimiter.put(msg)
|
||||
msg = self.rateLimiter.get()
|
||||
args = tokenize(s)
|
||||
self.Proxy(irc, msg, args)
|
||||
if msg:
|
||||
args = tokenize(s)
|
||||
self.Proxy(irc, msg, args)
|
||||
|
||||
|
||||
class IrcObjectProxyRegexp:
|
||||
|
Loading…
Reference in New Issue
Block a user