mirror of
https://github.com/anope/anope.git
synced 2026-06-29 23:36:39 +02:00
Numerics should always be unsigned.
This commit is contained in:
+1
-1
@@ -233,7 +233,7 @@ void IRCDProto::SendGlobops(const MessageSource &source, const Anope::string &me
|
||||
Uplink::Send(source, "GLOBOPS", message);
|
||||
}
|
||||
|
||||
void IRCDProto::SendNumericInternal(int numeric, const Anope::string &dest, const std::vector<Anope::string> ¶ms)
|
||||
void IRCDProto::SendNumericInternal(unsigned numeric, const Anope::string &dest, const std::vector<Anope::string> ¶ms)
|
||||
{
|
||||
Anope::string n = Anope::ToString(numeric);
|
||||
if (numeric < 10)
|
||||
|
||||
Reference in New Issue
Block a user