mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-01 01:09:22 +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))
|
self._send(source, 'AWAY %s :%s' % (int(time.time()), text))
|
||||||
else:
|
else:
|
||||||
self._send(source, 'AWAY')
|
self._send(source, 'AWAY')
|
||||||
|
self.irc.users[source].away = text
|
||||||
|
|
||||||
def spawnServer(self, name, sid=None, uplink=None, desc=None, endburst_delay=0):
|
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)
|
self._send(source, 'AWAY :%s' % text)
|
||||||
else:
|
else:
|
||||||
self._send(source, 'AWAY')
|
self._send(source, 'AWAY')
|
||||||
|
self.irc.users[source].away = text
|
||||||
|
|
||||||
### HANDLERS
|
### HANDLERS
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user