From af03ce859e55f43659062af60ed2431294b4b762 Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 2 Mar 2006 17:24:38 +0000 Subject: Fix for warning git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3432 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/users.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/users.cpp b/src/users.cpp index fb41cd347..5654133ec 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -233,11 +233,9 @@ void userrec::RemoveInvite(irc::string &channel) bool userrec::HasPermission(std::string &command) { - char* CommandList; char* mycmd; char* savept; char* savept2; - char* Classes; // users on remote servers can completely bypass // all permissions based checks. @@ -252,7 +250,7 @@ bool userrec::HasPermission(std::string &command) opertype_t::iterator iter_opertype = opertypes.find(this->oper); if (iter_opertype != opertypes.end()) { - Classes = iter_opertype->second; + char* Classes = iter_opertype->second; char* myclass = strtok_r(Classes," ",&savept); while (myclass) { -- cgit v1.2.3