diff options
Diffstat (limited to 'plugin.py')
| -rw-r--r-- | plugin.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -397,7 +397,7 @@ class SnoParser(callbacks.Plugin): def _sendSnotice(self, irc, msg, repl): try: channel = self.registryValue('targetChannel') - if channel[0] == '#': + if irc.isChannel(channel): irc.queueMsg(msg=ircmsgs.IrcMsg(command='NOTICE', args=(channel, repl))) # what sort of exception does one raise |
