mirror of
https://github.com/anope/anope.git
synced 2026-07-01 01:06:38 +02:00
Simplify limit extraction code.
This commit is contained in:
@@ -423,7 +423,7 @@ private:
|
||||
|
||||
bool IsIdentValid(const Anope::string &ident) override
|
||||
{
|
||||
if (ident.empty() || ident.length() > IRCD->GetMaxUser())
|
||||
if (ident.empty() || ident.length() > IRCD->MaxUser)
|
||||
return false;
|
||||
|
||||
for (auto c : ident)
|
||||
|
||||
Reference in New Issue
Block a user