Skip to content

Commit

Permalink
Trigger: Disable the error message on all connection if no connect tr…
Browse files Browse the repository at this point in the history
…igger was set.
  • Loading branch information
progval committed May 21, 2012
1 parent ff94b06 commit 8fff578
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Trigger/plugin.py
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ def doNotice(self, irc, msg):
self._run(irc, msg, 'notice') self._run(irc, msg, 'notice')
def do376(self, irc, msg): def do376(self, irc, msg):
command = self.registryValue('triggers.connect') command = self.registryValue('triggers.connect')
irc.queueMsg(ircmsgs.IrcMsg(command)) if command != '':
irc.queueMsg(ircmsgs.IrcMsg(command))




Class = Trigger Class = Trigger
Expand Down

0 comments on commit 8fff578

Please sign in to comment.