summaryrefslogtreecommitdiff
path: root/modules/commands/ms_set.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2011-10-24 16:37:29 -0400
committerAdam <Adam@anope.org>2011-10-24 16:37:29 -0400
commit7c62de1f27ee21e41b7655e9d82a227f6e2cf2b5 (patch)
tree9393c1c5b18c3d34da786556f960fe5cc010ee98 /modules/commands/ms_set.cpp
parentccf29c013465ba4b9709c04ba4452f4454b1ebdc (diff)
parent377a7a968b6a906f262a45abea9a563ffc471938 (diff)
Merge branch '1.9' of anope.git.sf.net:/gitroot/anope/anope into 1.9
Diffstat (limited to 'modules/commands/ms_set.cpp')
-rw-r--r--modules/commands/ms_set.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/commands/ms_set.cpp b/modules/commands/ms_set.cpp
index ef3480fd5..7ce1960ed 100644
--- a/modules/commands/ms_set.cpp
+++ b/modules/commands/ms_set.cpp
@@ -75,7 +75,7 @@ class CommandMSSet : public Command
Anope::string p2 = params.size() > 2 ? params[2] : "";
Anope::string p3 = params.size() > 3 ? params[3] : "";
Anope::string user, chan;
- int16 limit;
+ int16_t limit;
NickCore *nc = u->Account();
ChannelInfo *ci = NULL;
bool is_servadmin = u->HasPriv("memoserv/set-limit");
@@ -136,7 +136,7 @@ class CommandMSSet : public Command
limit = -1;
try
{
- limit = convertTo<int16>(p1);
+ limit = convertTo<int16_t>(p1);
}
catch (const ConvertException &) { }
}
@@ -160,7 +160,7 @@ class CommandMSSet : public Command
limit = -1;
try
{
- limit = convertTo<int16>(p1);
+ limit = convertTo<int16_t>(p1);
}
catch (const ConvertException &) { }
/* The first character is a digit, but we could still go negative