aboutsummaryrefslogtreecommitdiff
path: root/src/commands.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2023-07-03 15:27:31 +0100
committerGravatar Sadie Powell2023-07-03 18:43:31 +0100
commitfc160b34142dd0645ea914fe5af40be2cf25cff7 (patch)
tree78ed39e0d5b5794a2326dce1b570261f0ed93992 /src/commands.cpp
parentRefactor the ServerConfig class. (diff)
Make MaxTargets a size_t.
Diffstat (limited to 'src/commands.cpp')
-rw-r--r--src/commands.cpp2
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