Made to relay actions and away messages.

This commit is contained in:
Jeremy Fincher 2004-01-04 13:50:43 +00:00
parent 8260958cbd
commit 4e69914648
1 changed files with 3 additions and 1 deletions

View File

@ -526,7 +526,9 @@ class Relay(callbacks.Privmsg, configurable.Mixin):
channel = msg.args[0]
if channel not in self.channels:
return
if ircutils.isCtcp(msg) and not 'AWAY' in msg.args[1]:
if ircutils.isCtcp(msg) and \
not 'AWAY' in msg.args[1] and \
not 'ACTION' in msg.args[1]:
return
abbreviation = self.abbreviations[irc]
s = self._formatPrivmsg(msg.nick, abbreviation, msg)