summaryrefslogtreecommitdiff
path: root/modules/chanserv/cs_seen.cpp
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2024-03-12 12:22:57 +0000
committerSadie Powell <sadie@witchery.services>2024-03-12 12:24:02 +0000
commit06add0e5fc1b83b43014e731cb94229ab2be66f6 (patch)
tree16e08617a2e81a6bc8f44ab513e056a792bb07c2 /modules/chanserv/cs_seen.cpp
parent63d682314b7eb3f6e25ecf4ba81dc3bb17270f0e (diff)
Simplify limit extraction code.
Diffstat (limited to 'modules/chanserv/cs_seen.cpp')
-rw-r--r--modules/chanserv/cs_seen.cpp4
1 files changed, 2 insertions, 2 deletions
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;
}