irc: Show channel names with real caps in WHO response
patch 5b00b840b5eb306f65353707ae3d726ea5f010e4
Author: E. Bosch <presidev@AT@gmail.com>
Date: Sun Feb 14 01:47:13 CET 2021
* irc: Show channel names with real caps in WHO response
diff -rN -u old-irgramd/irc.py new-irgramd/irc.py
--- old-irgramd/irc.py 2024-11-23 01:52:57.370311585 +0100
+++ new-irgramd/irc.py 2024-11-23 01:52:57.370311585 +0100
@@ -177,7 +177,7 @@
tgt = target.lower()
if tgt in self.irc_channels.keys():
users = self.irc_channels[tgt]
- chan = target
+ chan = self.get_realcaps_name(tgt)
elif tgt in self.users.keys():
users = (self.users[tgt],)
chan = '*'