From 06add0e5fc1b83b43014e731cb94229ab2be66f6 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Tue, 12 Mar 2024 12:22:57 +0000 Subject: Simplify limit extraction code. --- modules/chanserv/cs_seen.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/chanserv') diff --git a/modules/chanserv/cs_seen.cpp b/modules/chanserv/cs_seen.cpp index 183cd5e05..1603983f5 100644 --- a/modules/chanserv/cs_seen.cpp +++ b/modules/chanserv/cs_seen.cpp @@ -270,9 +270,9 @@ public: if (simple) return this->SimpleSeen(source, params); - if (target.length() > IRCD->GetMaxNick()) + if (target.length() > IRCD->MaxNick) { - source.Reply(_("Nick too long, max length is %zu characters."), IRCD->GetMaxNick()); + source.Reply(_("Nick too long, max length is %zu characters."), IRCD->MaxNick); return; } -- cgit