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/cmd_nick.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cmd_nick.cpp') diff --git a/src/cmd_nick.cpp b/src/cmd_nick.cpp index 9313899f7..681c495aa 100644 --- a/src/cmd_nick.cpp +++ b/src/cmd_nick.cpp @@ -102,7 +102,7 @@ void cmd_nick::Handle (const char** parameters, int pcnt, userrec *user) return; } } - if ((isnick(parameters[0]) == 0) && (IS_LOCAL(user))) + if ((!ServerInstance->IsNick(parameters[0])) && (IS_LOCAL(user))) { user->WriteServ("432 %s %s :Erroneous Nickname",user->nick,parameters[0]); return; -- cgit v1.2.3