diff options
| author | 2023-07-03 15:27:31 +0100 | |
|---|---|---|
| committer | 2023-07-03 18:43:31 +0100 | |
| commit | fc160b34142dd0645ea914fe5af40be2cf25cff7 (patch) | |
| tree | 78ed39e0d5b5794a2326dce1b570261f0ed93992 /src/commands.cpp | |
| parent | Refactor the ServerConfig class. (diff) | |
Make MaxTargets a size_t.
Diffstat (limited to 'src/commands.cpp')
| -rw-r--r-- | src/commands.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands.cpp b/src/commands.cpp index 1707a173f..716506459 100644 --- a/src/commands.cpp +++ b/src/commands.cpp @@ -64,7 +64,7 @@ bool CommandParser::LoopCall(User* user, Command* handler, const CommandBase::Pa irc::commasepstream items1(parameters[splithere]); irc::commasepstream items2(extra >= 0 ? parameters[extra] : "", true); std::string item; - unsigned int max = 0; + size_t max = 0; LocalUser* localuser = IS_LOCAL(user); /* Attempt to iterate these lists and call the command handler |
