mirror of
https://github.com/jlu5/PyLink.git
synced 2025-02-02 23:54:08 +01:00
ngircd: don't leave user TS none in spawn_client
This commit is contained in:
parent
759210a1e4
commit
42a25300c4
@ -61,7 +61,7 @@ class NgIRCdProtocol(IRCS2SProtocol):
|
||||
realname = realname or conf.conf['bot']['realname']
|
||||
|
||||
uid = self.uidgen.next_uid(prefix=nick)
|
||||
userobj = self.users[uid] = User(nick, ts, uid, server, ident=ident, host=host, realname=realname,
|
||||
userobj = self.users[uid] = User(nick, ts or int(time.time()), uid, server, ident=ident, host=host, realname=realname,
|
||||
manipulatable=manipulatable, opertype=opertype)
|
||||
|
||||
self.apply_modes(uid, modes)
|
||||
|
Loading…
Reference in New Issue
Block a user