mirror of https://github.com/9001/r0c.git
add timestamp to userconfig
This commit is contained in:
parent
9628f1e3ec
commit
c190dfd3af
|
@ -237,7 +237,7 @@ class VT100_Client(asyncore.dispatcher):
|
||||||
self.y_status = 1 # offset from bottom of screen
|
self.y_status = 1 # offset from bottom of screen
|
||||||
|
|
||||||
try:
|
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(' ')
|
self.host.user_config[self.addr[0]].split(' ')
|
||||||
|
|
||||||
#print('],['.join([nick,linemode,vt100,echo_on,codec,bell]))
|
#print('],['.join([nick,linemode,vt100,echo_on,codec,bell]))
|
||||||
|
@ -281,7 +281,7 @@ class VT100_Client(asyncore.dispatcher):
|
||||||
with self.world.mutex:
|
with self.world.mutex:
|
||||||
self.host.user_config[self.addr[0]] = u' '.join([
|
self.host.user_config[self.addr[0]] = u' '.join([
|
||||||
|
|
||||||
# "primary key"
|
hex(int(time.time()*8.0))[2:].rstrip('L'),
|
||||||
self.user.nick,
|
self.user.nick,
|
||||||
|
|
||||||
# terminal behavior
|
# terminal behavior
|
||||||
|
|
Loading…
Reference in New Issue