mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-03 01:39:23 +01:00
Made to relay actions and away messages.
This commit is contained in:
parent
8260958cbd
commit
4e69914648
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user