summaryrefslogtreecommitdiff
path: root/modules/chanserv/cs_seen.cpp
diff options
context:
space:
mode:
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;
}