Fix realname being a space breaking handling

This commit is contained in:
Vgr E. Barry 2017-01-01 11:01:33 -05:00
parent 081f909260
commit d78f0e5179

View File

@ -38,7 +38,7 @@ def who_reply(cli, bot_server, bot_nick, chan, ident, host, server, nick, status
"""
hop, realname = hopcount_gecos.split(None, 1)
hop, realname = hopcount_gecos.split(" ", 1)
hop = int(hop)
# We throw away the information about the operness of the user, but we probably don't need to care about that
# We also don't directly pass which modes they have, since that's already on the channel/user