aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--protocols/inspircd4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/inspircd4.c b/protocols/inspircd4.c
index 24a2c37..ff807c7 100644
--- a/protocols/inspircd4.c
+++ b/protocols/inspircd4.c
@@ -1754,7 +1754,7 @@ int inspircd4_protocol_handle_fjoin(struct string source, size_t argc, struct st
return 0;
inspircd4_protocol_handle_fjoin_reset_member_ids:
- for (size_t x = n; n > 0;) {
+ for (size_t x = n; x > 0;) {
x--;
struct inspircd4_protocol_specific_user *this = users[x]->protocol_specific[INSPIRCD4_PROTOCOL];
if (members[user_count + x])