diff options
Diffstat (limited to 'FICS/lists.c')
-rw-r--r-- | FICS/lists.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FICS/lists.c b/FICS/lists.c index 2671d1d..02c58ea 100644 --- a/FICS/lists.c +++ b/FICS/lists.c @@ -306,7 +306,7 @@ list_addsub(int p, char *list, char *who, int addsub) if (addsub == 1) { // add to list if (gl->which == L_CHANNEL) { if (sscanf (who,"%d",&ch) == 1) { - if (!in_list(p, L_ADMIN,parray[p].name) && + if (!in_list(p, L_ADMIN, parray[p].name) && ch == 0) { pprintf(p, "Only admins may join " "channel 0.\n"); |