|
@@ -841,7 +841,7 @@ bool bot_shouldjoin(struct userrec* u, struct flag_record* fr, struct chanset_t*
|
|
|
// No user record, can't make any safe assumptions really
|
|
// No user record, can't make any safe assumptions really
|
|
|
if (!u) return 0;
|
|
if (!u) return 0;
|
|
|
|
|
|
|
|
-#ifdef DEBUGx
|
|
|
|
|
|
|
+#ifdef DEBUG
|
|
|
/* Force debugging bots to only join 3 channels */
|
|
/* Force debugging bots to only join 3 channels */
|
|
|
if (!strncmp(u->handle, "wtest", 5)) {
|
|
if (!strncmp(u->handle, "wtest", 5)) {
|
|
|
if (!strcmp(chan->dname, "#skynet") ||
|
|
if (!strcmp(chan->dname, "#skynet") ||
|