1
0
mirror of https://github.com/anope/anope.git synced 2026-06-30 05:56:38 +02:00

Forward port part of 821995bf60

This commit is contained in:
Adam
2010-12-25 02:30:39 -05:00
parent aa9e33cf74
commit 80721d1873
2 changed files with 11 additions and 0 deletions
+3
View File
@@ -173,6 +173,9 @@ int Module::DelCommand(BotInfo *bi, Command *c)
if (!bi->Commands.erase(c->name))
return MOD_ERR_NOEXIST;
c->module = NULL;
c->service = NULL;
return MOD_ERR_OK;
}