3
0
mirror of https://github.com/jlu5/PyLink.git synced 2025-01-11 20:52:42 +01:00

clientbot: use colon for realname in USER

This commit is contained in:
James Lu 2016-07-25 11:02:08 -07:00
parent af027e2288
commit db9f362857

View File

@ -66,7 +66,7 @@ class ClientbotWrapperProtocol(Protocol):
self.conf_nick = self.irc.serverdata.get('pylink_nick') or conf.conf["bot"].get("nick", "PyLink")
f('NICK %s' % (self.conf_nick))
ident = self.irc.serverdata.get('pylink_ident') or conf.conf["bot"].get("ident", "pylink")
f('USER %s 8 * %s' % (ident, # TODO: per net realnames or hostnames aren't implemented yet.
f('USER %s 8 * :%s' % (ident, # TODO: per net realnames or hostnames aren't implemented yet.
conf.conf["bot"].get("realname", "PyLink Clientbot")))
# Note: clientbot clients are initialized with umode +i by default