add timestamp to userconfig

This commit is contained in:
ed 2018-01-23 03:14:58 +01:00
parent 9628f1e3ec
commit c190dfd3af
1 changed files with 2 additions and 2 deletions

View File

@ -237,7 +237,7 @@ class VT100_Client(asyncore.dispatcher):
self.y_status = 1 # offset from bottom of screen
try:
nick, linemode, vt100, echo_on, crlf, codec, bell = \
ts, nick, linemode, vt100, echo_on, crlf, codec, bell = \
self.host.user_config[self.addr[0]].split(' ')
#print('],['.join([nick,linemode,vt100,echo_on,codec,bell]))
@ -281,7 +281,7 @@ class VT100_Client(asyncore.dispatcher):
with self.world.mutex:
self.host.user_config[self.addr[0]] = u' '.join([
# "primary key"
hex(int(time.time()*8.0))[2:].rstrip('L'),
self.user.nick,
# terminal behavior