mirror of
https://github.com/jlu5/SupyPlugins.git
synced 2025-05-02 16:31:11 -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):
|
def outFilter(self, irc, msg):
|
||||||
if msg.command == 'PRIVMSG' and \
|
if msg.command == 'PRIVMSG' and \
|
||||||
(self.registryValue('enable', msg.args[0]) or not \
|
ircutils(isChannel(msg.args[0]) and \
|
||||||
ircutils.isChannel(msg.args[0])):
|
self.registryValue('enable', msg.args[0]):
|
||||||
s = msg.args[1]
|
s = msg.args[1]
|
||||||
prefixes = ["+", "$", ";", ".", "%", "!", "`", "\\", "@", "&",
|
prefixes = ["+", "$", ";", ".", "%", "!", "`", "\\", "@", "&",
|
||||||
"*", "~", ":", "^", "(", ")", "-", "=", ">", "<", ","]
|
"*", "~", ":", "^", "(", ")", "-", "=", ">", "<", ","]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user