summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-28 21:17:40 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-28 21:17:40 +0000
commit9759298513f81afa1744381bf7627e2782473054 (patch)
treeabf1520efee8d131a36b3604902d8389b3072638 /src
parent09725273b597ccbc91fa6b8fc4373975fa8e2304 (diff)
Fixed typos
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2685 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/command_parse.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command_parse.cpp b/src/command_parse.cpp
index 89bec3af7..5e89c2841 100644
--- a/src/command_parse.cpp
+++ b/src/command_parse.cpp
@@ -626,7 +626,7 @@ bool CommandParser::RemoveCommands(const char* source)
go_again = false;
for (std::map<std::string,command_t*>::iterator i = cmdlist.begin(); i != cmdlist.end(); i++)
{
- command_t* x = (command_t*)*i;
+ command_t* x = i->second;
if (x->source == std::string(source))
{
log(DEBUG,"removecommands(%s) Removing dependent command: %s",x->source.c_str(),x->command.c_str());