Browse Source

Fix channel showing as +inactive in cmd_status from hubs (#36)

Bryan Drewery 14 years ago
parent
commit
5d74b68729
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/mod/channels.mod/channels.c

+ 1 - 1
src/mod/channels.mod/channels.c

@@ -803,7 +803,7 @@ void channels_report(int idx, int details)
           strlcat(s2, "p", sizeof(s2));
       }
 
-      if (shouldjoin(chan)) {
+      if (conf.bot->hub || shouldjoin(chan)) {
 	if (channel_active(chan)) {
 	  /* If it's a !chan, we want to display it's unique name too <cybah> */
 	  if (chan->dname[0]=='!') {