summaryrefslogtreecommitdiff
path: root/src/core/os_shutdown.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/os_shutdown.c')
-rw-r--r--src/core/os_shutdown.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/os_shutdown.c b/src/core/os_shutdown.c
index 4dc8728e3..0125297bc 100644
--- a/src/core/os_shutdown.c
+++ b/src/core/os_shutdown.c
@@ -58,7 +58,7 @@ class OSShutdown : public Module
this->SetVersion("$Id$");
this->SetType(CORE);
- this->AddCommand(OPERSERV, c, MOD_UNIQUE);
+ this->AddCommand(OPERSERV, new CommandOSShutdown(), MOD_UNIQUE);
this->SetOperHelp(myOperServHelp);
}