1
0
mirror of https://github.com/anope/anope.git synced 2026-07-02 16:33:12 +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
+6 -6
View File
@@ -66,20 +66,20 @@ public:
}
else 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;
}
@@ -171,20 +171,20 @@ public:
}
else 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;
}