mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-01 01:09:22 +01:00
relay: relay AWAY statuses
This commit is contained in:
parent
1a57dfcdc3
commit
486b56e255
@ -932,3 +932,9 @@ def linked(irc, source, args):
|
||||
else:
|
||||
s += '(no relays yet)'
|
||||
utils.msg(irc, source, s)
|
||||
|
||||
def handle_away(irc, numeric, command, args):
|
||||
for netname, user in relayusers[(irc.name, numeric)].items():
|
||||
remoteirc = utils.networkobjects[netname]
|
||||
remoteirc.proto.awayClient(remoteirc, user, args['text'])
|
||||
utils.add_hook(handle_away, 'AWAY')
|
||||
|
Loading…
Reference in New Issue
Block a user