From 19f54362cb53c39692fd8fe60ba497bb964f3960 Mon Sep 17 00:00:00 2001 From: Brian Sherson Date: Thu, 5 Sep 2013 17:54:33 -0700 Subject: Just another update --- irc.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'irc.py') diff --git a/irc.py b/irc.py index 4718187..7ed9d1a 100644 --- a/irc.py +++ b/irc.py @@ -386,7 +386,11 @@ class Connection(Thread): channel.modes["e"] = [(exception, nick, int(exctime))] elif cmd == 352: # WHO reply (channame, ident, host, serv, nick, flags) = params.split() - (hops, realname) = extinfo.split(" ", 1) + try: + (hops, realname) = extinfo.split(" ", 1) + except ValueError: + hops = extinfo + realname = None channel = self.channel(channame) self.event("onRecv", channel.modules, line=line, data=parsed) if channel.name != channame: -- cgit v1.2.3