From 5cc11ca56b8ef3f6c83e30b2b2d06518e540f00d Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Mon, 26 Nov 2012 01:01:14 -0500 Subject: [PATCH] Another hand-merged bugfix by AI0867. --- irkerd | 3 +++ 1 file changed, 3 insertions(+) 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] -- 2.26.2