summaryrefslogtreecommitdiff
path: root/src/inspircd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r--src/inspircd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index 050f5190f..64a55ecd2 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -304,7 +304,7 @@ bool InspIRCd::UnloadModule(const char* filename)
log(DEBUG,"Erasing module entry...");
erase_factory(j);
log(DEBUG,"Removing dependent commands...");
- removecommands(filename);
+ remove_commands(filename);
log(DEFAULT,"Module %s unloaded",filename);
MODCOUNT--;
return true;