SpiffyTitles: ircutils.isUserHostmask check

This commit is contained in:
Gordon Shumway 2023-10-11 02:59:50 -04:00 committed by GitHub
parent 1af4385bec
commit 911069e3e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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():