mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-24 03:29:28 +01:00
clientbot: use existing fallback hostname abstraction instead of hardcoding it separately
This commit is contained in:
parent
7230aaa7df
commit
a02fa45d96
@ -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, host='pylink.int')
|
||||
ident=ident, realname=realname, host=self.hostname())
|
||||
self.users[self.pseudoclient.uid] = self.pseudoclient
|
||||
|
||||
# Note: clientbot clients are initialized with umode +i by default
|
||||
|
Loading…
Reference in New Issue
Block a user