aboutsummaryrefslogtreecommitdiffstats
path: root/modules/chgident.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/chgident.cpp')
-rw-r--r--modules/chgident.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/chgident.cpp b/modules/chgident.cpp
index 06bdda768..593ceaae1 100644
--- a/modules/chgident.cpp
+++ b/modules/chgident.cpp
@@ -53,7 +53,7 @@ public:
return CmdResult::FAILURE;
}
- if (!ServerInstance->IsUser(parameters[1]))
+ if (!ServerInstance->Users.IsUser(parameters[1]))
{
user->WriteNotice("*** CHGIDENT: Invalid characters in username");
return CmdResult::FAILURE;