3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-12-28 13:42:37 +01:00

clientbot: add a dummy internal host for the clientbot bot...

This commit is contained in:
James Lu 2017-08-21 23:28:10 -07:00
parent 060a947798
commit bd6272abf6

View File

@ -104,7 +104,7 @@ class ClientbotWrapperProtocol(IRCCommonProtocol):
f('NICK %s' % nick)
f('USER %s 8 * :%s' % (ident, realname))
self.pseudoclient = User(nick, int(time.time()), self.uidgen.next_uid(prefix='@ClientbotInternal'), self.sid,
ident=ident, realname=realname)
ident=ident, realname=realname, host='pylink.int')
self.users[self.pseudoclient.uid] = self.pseudoclient
# Note: clientbot clients are initialized with umode +i by default