1
0
mirror of https://github.com/anope/anope.git synced 2026-06-30 01:56:38 +02:00

Sort the core language strings and rename for consistency.

This commit is contained in:
Sadie Powell
2025-11-10 13:58:16 +00:00
parent 815df5c292
commit 88785bfdef
4 changed files with 70 additions and 67 deletions
+4 -4
View File
@@ -240,7 +240,7 @@ public:
{
if (user.length() > IRCD->MaxUser)
{
source.Reply(HOST_SET_IDENTTOOLONG, IRCD->MaxUser);
source.Reply(HOST_SET_VIDENT_TOO_LONG, IRCD->MaxUser);
return;
}
else if (!IRCD->CanSetVIdent)
@@ -251,20 +251,20 @@ public:
if (!IRCD->IsIdentValid(user))
{
source.Reply(HOST_SET_IDENT_ERROR);
source.Reply(HOST_SET_VIDENT_ERROR);
return;
}
}
if (host.length() > IRCD->MaxHost)
{
source.Reply(HOST_SET_TOOLONG, IRCD->MaxHost);
source.Reply(HOST_SET_VHOST_TOO_LONG, IRCD->MaxHost);
return;
}
if (!IRCD->IsHostValid(host))
{
source.Reply(HOST_SET_ERROR);
source.Reply(HOST_SET_VHOST_ERROR);
return;
}