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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user