From fd2eb26472bcc0b7b144f40523ff820cba82f574 Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 10 Aug 2006 18:04:19 +0000 Subject: Move IsNick, IsIdent into class InspIRCd, update modules that use it. Change message.h to just a #warning saying its deprecated, and remove all use of it from the core :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4847 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_chgident.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/modules/m_chgident.cpp') 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 #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; -- cgit v1.2.3