mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 19:19:32 +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]):
|
if self.started and ircutils.isChannel(msg.args[0]):
|
||||||
irc = self._getRealIrc(irc)
|
irc = self._getRealIrc(irc)
|
||||||
channel = msg.args[0]
|
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
|
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