1
0
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:
Sadie Powell
2025-10-29 13:14:35 +00:00
parent 90ac540960
commit a70ef47359
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -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> &params)
void IRCDProto::SendNumericInternal(unsigned numeric, const Anope::string &dest, const std::vector<Anope::string> &params)
{
Anope::string n = Anope::ToString(numeric);
if (numeric < 10)