diff options
author | Runxi Yu <me@runxiyu.org> | 2024-07-25 08:00:00 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2024-07-25 08:00:00 +0800 |
commit | 3d39ab0475b4c55bcf63dabde86620044d5d5d7b (patch) | |
tree | 5b6bb49fcf4325caea5fc111bed7a59c69d55f87 /pseudoclients.h | |
parent | ba65c2e1211e3c62b80eaaf6e35d198a5110fc71 (diff) | |
download | haxircd-3d39ab0475b4c55bcf63dabde86620044d5d5d7b.tar.gz haxircd-3d39ab0475b4c55bcf63dabde86620044d5d5d7b.zip |
InspIRCd v4: Fix loop condition in FJOIN memid reset
There was a typo in the InspIRCd v3 code, in the FJOIN handler:
The loop condition said n > 0, while n is never changed in the loop.
It turns out the the loop condition should have been x > 0.
This was fixed for InspIRCd v3 in commit 85716714, but it was
not ported to the InspIRCd v4 protocol support code because
the v4 code was copied from v3 a while ago.
This commit fixes it.
Diffstat (limited to 'pseudoclients.h')
0 files changed, 0 insertions, 0 deletions