diff options
Diffstat (limited to 'src/modules/m_chgident.cpp')
-rw-r--r-- | src/modules/m_chgident.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/modules/m_chgident.cpp b/src/modules/m_chgident.cpp index 391f4b20b..7efe2e755 100644 --- a/src/modules/m_chgident.cpp +++ b/src/modules/m_chgident.cpp @@ -1,7 +1,6 @@ #include <string> #include "users.h" #include "modules.h" -#include "message.h" #include "helperfuncs.h" #include "inspircd.h" @@ -26,7 +25,7 @@ class cmd_chgident : public command_t if(dest) { - if(!isident(parameters[1])) + if(!ServerInstance->IsIdent(parameters[1])) { user->WriteServ("NOTICE %s :*** Invalid characters in ident", user->nick); return; |