diff options
author | Markus Uhlin <markus@nifty-networks.net> | 2023-12-16 21:11:02 +0100 |
---|---|---|
committer | Markus Uhlin <markus@nifty-networks.net> | 2023-12-16 21:11:02 +0100 |
commit | 9e030ad9e77884ecf5949b1d809b3c420a0ef53a (patch) | |
tree | dcded72a5f7d6bc70bc88c5b96b46a574fde80fc | |
parent | 6ec547f1a0f9815c1bff0d194c585cbce5d9adeb (diff) |
Added a whitespace
-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"); |