From: Eric S. Raymond Date: Mon, 26 Nov 2012 06:01:14 +0000 (-0500) Subject: Another hand-merged bugfix by AI0867. X-Git-Tag: 1.14~3 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5cc11ca56b8ef3f6c83e30b2b2d06518e540f00d;p=irker.git Another hand-merged bugfix by AI0867. --- diff --git a/irkerd b/irkerd index ef87434..cc61fbc 100755 --- a/irkerd +++ b/irkerd @@ -297,6 +297,9 @@ class Target(): # got kicked, and irkerd crashed because the server returned # "#channel" in the notification that our kick handler saw. self.channel = parsed.path.lstrip('/').lower() + # This deals with a tweak in recent versions of urlparse. + if parsed.fragment: + self.channel += "#" + parsed.fragment isnick = self.channel.endswith(",isnick") if isnick: self.channel = self.channel[:-7]