From d9bdfda657f3a199bcd535257a1daca4a7a91efe Mon Sep 17 00:00:00 2001 From: psychon Date: Thu, 30 Oct 2008 19:53:58 +0000 Subject: Fix a compiler warning about a redefinition of some symbol. Does nobody else read compiler warnings? Oo git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10751 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/command_parse.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/command_parse.cpp') diff --git a/src/command_parse.cpp b/src/command_parse.cpp index 67fc05231..e4c987c19 100644 --- a/src/command_parse.cpp +++ b/src/command_parse.cpp @@ -294,7 +294,7 @@ bool CommandParser::ProcessCommand(User *user, std::string &cmd) * Thanks dz for making me actually understand why this is necessary! * -- w00t */ - Commandtable::iterator cm = cmdlist.find(command); + cm = cmdlist.find(command); if (cm == cmdlist.end()) { if (user->registered == REG_ALL) -- cgit v1.2.3