mirror of
https://github.com/jlu5/PyLink.git
synced 2024-12-24 11:42:51 +01:00
protocols: actually update away status in awayClient
"Oops, I forgot to do this."
This commit is contained in:
parent
6d597e4482
commit
d60a48bb11
@ -263,6 +263,7 @@ class InspIRCdProtocol(TS6BaseProtocol):
|
||||
self._send(source, 'AWAY %s :%s' % (int(time.time()), text))
|
||||
else:
|
||||
self._send(source, 'AWAY')
|
||||
self.irc.users[source].away = text
|
||||
|
||||
def spawnServer(self, name, sid=None, uplink=None, desc=None, endburst_delay=0):
|
||||
"""
|
||||
|
@ -149,6 +149,7 @@ class TS6BaseProtocol(Protocol):
|
||||
self._send(source, 'AWAY :%s' % text)
|
||||
else:
|
||||
self._send(source, 'AWAY')
|
||||
self.irc.users[source].away = text
|
||||
|
||||
### HANDLERS
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user