From c190dfd3af45f6c7a12df1b9a539b2e04fa228ee Mon Sep 17 00:00:00 2001 From: ed Date: Tue, 23 Jan 2018 03:14:58 +0100 Subject: [PATCH] add timestamp to userconfig --- r0c/ivt100.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/r0c/ivt100.py b/r0c/ivt100.py index 794961b..87dcd9f 100644 --- a/r0c/ivt100.py +++ b/r0c/ivt100.py @@ -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