diff options
author | psychon <psychon@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-10-30 19:53:58 +0000 |
---|---|---|
committer | psychon <psychon@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-10-30 19:53:58 +0000 |
commit | d9bdfda657f3a199bcd535257a1daca4a7a91efe (patch) | |
tree | 1d7532a1809ce83f43ce166d74e464427c6ca7ae /src | |
parent | f103942e505e416dd541429bfd4f50cc3dd696f4 (diff) |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/command_parse.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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) |