mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-25 12:12:54 +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))):
|
if m and self.isCommand(canonicalName(m.group(1))):
|
||||||
self.rateLimiter.put(msg)
|
self.rateLimiter.put(msg)
|
||||||
msg = self.rateLimiter.get()
|
msg = self.rateLimiter.get()
|
||||||
args = tokenize(s)
|
if msg:
|
||||||
self.Proxy(irc, msg, args)
|
args = tokenize(s)
|
||||||
|
self.Proxy(irc, msg, args)
|
||||||
|
|
||||||
|
|
||||||
class IrcObjectProxyRegexp:
|
class IrcObjectProxyRegexp:
|
||||||
|
Loading…
Reference in New Issue
Block a user