3
0
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:
James Lu 2015-12-17 21:50:50 -08:00
parent 6d597e4482
commit d60a48bb11
2 changed files with 2 additions and 0 deletions

View File

@ -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):
"""

View File

@ -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