diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-03-02 17:24:38 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-03-02 17:24:38 +0000 |
commit | af03ce859e55f43659062af60ed2431294b4b762 (patch) | |
tree | c764a43926f1a38402b42b624a4aaf8534d98ca0 /src | |
parent | e829227e6c1bde5026459773255b6dfca5960c61 (diff) |
Fix for warning
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3432 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r-- | src/users.cpp | 4 |
1 files changed, 1 insertions, 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) { |