mirror of
https://github.com/anope/anope.git
synced 2026-06-29 18:56:37 +02:00
If the IRCd sends a field limit then use it over that of the config.
This commit is contained in:
@@ -280,7 +280,7 @@ public:
|
||||
|
||||
bool IsIdentValid(const Anope::string &ident) override
|
||||
{
|
||||
if (ident.empty() || ident.length() > Config->GetBlock("networkinfo")->Get<unsigned>("userlen"))
|
||||
if (ident.empty() || ident.length() > IRCD->GetMaxUser())
|
||||
return false;
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user