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