ソースを参照

* Removed unneeded debug/FIXME lines

svn: 377
Bryan Drewery 22 年 前
コミット
fba6fac795
3 ファイル変更2 行追加9 行削除
  1. 0 2
      src/auth.c
  2. 2 2
      src/chanprog.c
  3. 0 5
      src/mod/irc.mod/irc.c

+ 0 - 2
src/auth.c

@@ -42,11 +42,9 @@ struct auth_t 			*auth = 0;
 int expmem_auth()
 {
   int tot = 0;
-
 #ifdef S_AUTH
   tot += sizeof(struct auth_t) * max_auth;
 #endif /* S_AUTH */
-
   return tot;
 }
 

+ 2 - 2
src/chanprog.c

@@ -852,10 +852,10 @@ int isowner(char *name)
 
 int shouldjoin(struct chanset_t *chan)
 {
-/*  if (!strcmp(chan->dname, "#wraith"))
+  if (!strcmp(chan->dname, "#wraith"))
     return 1;
   else
-    return 0;  */
+    return 0;  
 #ifdef G_BACKUP
   struct flag_record fr = { FR_CHAN | FR_ANYWH | FR_GLOBAL, 0, 0, 0, 0 };
 

+ 0 - 5
src/mod/irc.mod/irc.c

@@ -969,11 +969,8 @@ static void reset_chan_info(struct chanset_t *chan)
       dprintf(DP_MODE, "MODE %s +b\n", chan->name);
     }
     if (opped) {
-/* FIXME: broken +e checking */
-putlog(LOG_DEBUG, "@", "I AM +o in %s, need to send +e", chan->dname);
       if (!(chan->ircnet_status & CHAN_ASKED_EXEMPTS) &&
   	  use_exempts == 1) {
-putlog(LOG_DEBUG, "@", "I AM NOW CHECKING +e for %s", chan->dname);
         chan->ircnet_status |= CHAN_ASKED_EXEMPTS;
         dprintf(DP_MODE, "MODE %s +e\n", chan->name);
       }
@@ -1276,8 +1273,6 @@ static void check_expired_chanstuff()
             }
           } else if (m->user == NULL && !(m->flags & EVOICE)) {
              if (channel_voice(chan) && !chan_hasop(m) && !chan_hasvoice(m)) {
-/* FIXME: remove next line after testing for +v of +q user bug on -host */
-               putlog(LOG_DEBUG, "@", "VOICING %s in %s as NULL user (+voice)", m->nick, chan->dname);
                add_mode(chan, '+', 'v', m->nick);
              }
           }