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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user