]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Fix a compiler warning about a redefinition of some symbol.
authorpsychon <psychon@e03df62e-2008-0410-955e-edbf42e46eb7>
Thu, 30 Oct 2008 19:53:58 +0000 (19:53 +0000)
committerpsychon <psychon@e03df62e-2008-0410-955e-edbf42e46eb7>
Thu, 30 Oct 2008 19:53:58 +0000 (19:53 +0000)
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

index 67fc052310e21d8109bc2d28e840a6ba751fc3e3..e4c987c19c1cd1daaa44e539f0f55808f919c95f 100644 (file)
@@ -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)