mirror of
https://github.com/oddluck/limnoria-plugins.git
synced 2025-04-25 12:31:07 -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]
|
||||
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…
x
Reference in New Issue
Block a user