ソースを参照

Merge branch 'maint'

* maint:
  Remove homechan debug code (#23)
Bryan Drewery 10 年 前
コミット
1e3d087e64
1 ファイル変更0 行追加4 行削除
  1. 0 4
      src/set.cc

+ 0 - 4
src/set.cc

@@ -684,10 +684,6 @@ void init_vars()
     if (!vars[i].gdata && !vars[i].ldata && !(!conf.bot->hub && (vars[i].flags & VAR_NOLDEF)))
     if (!vars[i].gdata && !vars[i].ldata && !(!conf.bot->hub && (vars[i].flags & VAR_NOLDEF)))
       var_set(&vars[i], NULL, NULL);		//empty out and set to defaults
       var_set(&vars[i], NULL, NULL);		//empty out and set to defaults
   }
   }
-#ifdef DEBUG
-  if (!strncmp(conf.bot->nick, "wtest", 5))
-    var_set_by_name(NULL, "homechan", "#bryan");
-#endif
 }
 }
 
 
 /* This is used to parse (GLOBAL) userfile var lines and changes via .set from a remote hub */
 /* This is used to parse (GLOBAL) userfile var lines and changes via .set from a remote hub */