Permalink
Browse files

Trigger: Disable the error message on all connection if no connect tr…

…igger was set.
  • Loading branch information...
1 parent ff94b06 commit 8fff578dd77c12497107eb005ba8e9c823925f89 @ProgVal committed May 21, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 Trigger/plugin.py
View
3 Trigger/plugin.py
@@ -68,7 +68,8 @@ def doNotice(self, irc, msg):
self._run(irc, msg, 'notice')
def do376(self, irc, msg):
command = self.registryValue('triggers.connect')
- irc.queueMsg(ircmsgs.IrcMsg(command))
+ if command != '':
+ irc.queueMsg(ircmsgs.IrcMsg(command))
Class = Trigger

0 comments on commit 8fff578

Please sign in to comment.