mirror of
https://github.com/oddluck/limnoria-plugins.git
synced 2025-04-25 20:41:21 -05:00
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]
|
channel = msg.args[0]
|
||||||
message = msg.args[1]
|
message = msg.args[1]
|
||||||
title = None
|
title = None
|
||||||
|
if not ircutils.isUserHostmask(msg.prefix):
|
||||||
|
return
|
||||||
if not irc.isChannel(channel):
|
if not irc.isChannel(channel):
|
||||||
return
|
return
|
||||||
if msg.nick.lower() == irc.nick.lower():
|
if msg.nick.lower() == irc.nick.lower():
|
||||||
|
Loading…
x
Reference in New Issue
Block a user