mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-26 20:14:20 +01:00
Added a checkIgnored to Owner.doPrivmsg.
This commit is contained in:
parent
91b01f9fe3
commit
94e3726b82
@ -109,6 +109,8 @@ class Owner(privmsgs.CapabilityCheckingPrivmsg):
|
|||||||
|
|
||||||
def doPrivmsg(self, irc, msg):
|
def doPrivmsg(self, irc, msg):
|
||||||
callbacks.Privmsg.handled = False
|
callbacks.Privmsg.handled = False
|
||||||
|
if ircdb.checkIgnored(msg.prefix, msg.args[0]):
|
||||||
|
return
|
||||||
s = callbacks.addressed(irc.nick, msg)
|
s = callbacks.addressed(irc.nick, msg)
|
||||||
if s:
|
if s:
|
||||||
try:
|
try:
|
||||||
|
Loading…
Reference in New Issue
Block a user