1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-04 00:43:13 +02:00

Reorder some if's and comment them to make sense.

[skip ci]
This commit is contained in:
Bram Matthys
2024-06-14 14:36:14 +02:00
parent 33c6eb0bcf
commit 58646bafbb
+4 -4
View File
@@ -506,11 +506,11 @@ void _do_join(Client *client, int parc, const char *parv[])
}
channel = make_channel(name);
if (channel && (lp = find_membership_link(client->user->channel, channel)))
continue;
if (!channel)
continue;
continue; /* would be VERY rare, but e.g. for empty chan ('') */
if (find_membership_link(client->user->channel, channel))
continue; /* user already in channel, so JOIN ignored */
i = HOOK_CONTINUE;
if (!MyConnect(client))