diff options
| author | 2026-02-28 18:00:15 +0000 | |
|---|---|---|
| committer | 2026-02-28 18:00:15 +0000 | |
| commit | 631d21817fdc362b550236f709fda5744e233bb1 (patch) | |
| tree | 283d4df14771d8cff5e429be07e083455dd45abf /src/commands.cpp | |
| parent | Fix erroneously sending RPL_ENDOFNAMES multiple times. (diff) | |
Fix RPL_ENDOFNAMES for real this time.
Diffstat (limited to 'src/commands.cpp')
| -rw-r--r-- | src/commands.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/commands.cpp b/src/commands.cpp index 43c1bcb96..bb0648539 100644 --- a/src/commands.cpp +++ b/src/commands.cpp @@ -61,6 +61,7 @@ bool CommandParser::LoopCall(User* user, Command* handler, const CommandBase::Pa * for every parameter or parameter pair until there are no more * left to parse. */ + handler->loopcall = true; CommandBase::Params splitparams(parameters); while (items1.GetToken(item) && (!usemax || max++ < ServerInstance->Config->MaxTargets)) { @@ -86,6 +87,7 @@ bool CommandParser::LoopCall(User* user, Command* handler, const CommandBase::Pa } } } + handler->loopcall = false; return true; } |
