mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-02-03 08:04:07 +01:00
irclib: Tag AWAY messages with channel names.
This commit is contained in:
parent
d2fe7d901f
commit
fee97c0308
@ -675,6 +675,13 @@ class IrcState(IrcCommandDispatcher, log.Firewalled):
|
|||||||
else:
|
else:
|
||||||
assert False, msg.args[0]
|
assert False, msg.args[0]
|
||||||
|
|
||||||
|
def doAway(self, irc, msg):
|
||||||
|
channel_names = ircutils.IrcSet()
|
||||||
|
for (name, channel) in self.channels.items():
|
||||||
|
if msg.nick in channel.users:
|
||||||
|
channel_names.add(name)
|
||||||
|
msg.tag('channels', channel_names)
|
||||||
|
|
||||||
|
|
||||||
###
|
###
|
||||||
# The basic class for handling a connection to an IRC server. Accepts
|
# The basic class for handling a connection to an IRC server. Accepts
|
||||||
|
Loading…
Reference in New Issue
Block a user