SpiffyTitles: ircutils.isUserHostmask check
This commit is contained in:
parent
1af4385bec
commit
911069e3e9
|
|
@ -148,6 +148,8 @@ class SpiffyTitles(callbacks.Plugin):
|
|||
channel = msg.args[0]
|
||||
message = msg.args[1]
|
||||
title = None
|
||||
if not ircutils.isUserHostmask(msg.prefix):
|
||||
return
|
||||
if not irc.isChannel(channel):
|
||||
return
|
||||
if msg.nick.lower() == irc.nick.lower():
|
||||
|
|
|
|||
Loading…
Reference in New Issue