Another hand-merged bugfix by AI0867.
authorEric S. Raymond <esr@thyrsus.com>
Mon, 26 Nov 2012 06:01:14 +0000 (01:01 -0500)
committerEric S. Raymond <esr@thyrsus.com>
Mon, 26 Nov 2012 06:01:14 +0000 (01:01 -0500)
irkerd

diff --git a/irkerd b/irkerd
index ef87434c022c8aadb0d994d3e7080e687e51dda8..cc61fbc69da356afefd3c062ce78b07c0b622423 100755 (executable)
--- 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]