mirror of
https://github.com/jlu5/SupyPlugins.git
synced 2025-05-02 08:21:10 -05:00
NoTrigger: don't affect PMs (fixes conflict with Services plugin)
This commit is contained in:
parent
cdc8942c7d
commit
7ca2997727
@ -55,8 +55,8 @@ class NoTrigger(callbacks.Plugin):
|
||||
|
||||
def outFilter(self, irc, msg):
|
||||
if msg.command == 'PRIVMSG' and \
|
||||
(self.registryValue('enable', msg.args[0]) or not \
|
||||
ircutils.isChannel(msg.args[0])):
|
||||
ircutils(isChannel(msg.args[0]) and \
|
||||
self.registryValue('enable', msg.args[0]):
|
||||
s = msg.args[1]
|
||||
prefixes = ["+", "$", ";", ".", "%", "!", "`", "\\", "@", "&",
|
||||
"*", "~", ":", "^", "(", ")", "-", "=", ">", "<", ","]
|
||||
|
Loading…
x
Reference in New Issue
Block a user