mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 05:09:23 +01:00
Make sure to relay actions and away messages.
This commit is contained in:
parent
a247e2f008
commit
526f8d7314
@ -521,7 +521,9 @@ class Relay(callbacks.Privmsg, configurable.Mixin):
|
||||
if self.started and ircutils.isChannel(msg.args[0]):
|
||||
irc = self._getRealIrc(irc)
|
||||
channel = msg.args[0]
|
||||
if channel not in self.channels or ircutils.isCtcp(msg):
|
||||
if channel not in self.channels:
|
||||
return
|
||||
if ircutils.isCtcp(msg) and not 'AWAY' in msg.args[1]:
|
||||
return
|
||||
abbreviation = self.abbreviations[irc]
|
||||
s = self._formatPrivmsg(msg.nick, abbreviation, msg)
|
||||
|
Loading…
Reference in New Issue
Block a user