mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 13:19:24 +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]
|
channel = msg.args[0]
|
||||||
if channel not in self.channels:
|
if channel not in self.channels:
|
||||||
return
|
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
|
return
|
||||||
abbreviation = self.abbreviations[irc]
|
abbreviation = self.abbreviations[irc]
|
||||||
s = self._formatPrivmsg(msg.nick, abbreviation, msg)
|
s = self._formatPrivmsg(msg.nick, abbreviation, msg)
|
||||||
|
Loading…
Reference in New Issue
Block a user