svn: 1943
@@ -45,6 +45,7 @@ Lines prefixxed with '-' were disabled before release and are not finishsed, or
* chanset -bitch/-private/-botbitch/+botbitch/+closed/+private will now trigger bots to recheck channel (op/deop/kick people)
* Fixed bot not updating it's hostmask when reconnecting to server
* Fixed bot sending +Ie modes before recieving list after opping.
+* Fixed channel bans not displaying on hubs (#1)
1.2.2
* Don't sanity check flags for users on DCC CHAT if they are on the bot via .botcmd.
@@ -387,7 +387,9 @@ static void display_mask(const char type, int idx, int number, maskrec *mask, st
}
if (mask->flags & MASKREC_STICKY)
strcat(s, " (sticky)");
- if (!chan || ischanmask(type, chan, mask->mask)) {
+
+ /* always show mask on hubs */
+ if (!chan || ischanmask(type, chan, mask->mask) || conf.bot->hub) {
if (number >= 0) {
dprintf(idx, " [%3d] %s %s\n", number, mask->mask, s);
} else {