diff options
Diffstat (limited to 'src/core/os_shutdown.cpp')
-rw-r--r-- | src/core/os_shutdown.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/core/os_shutdown.cpp b/src/core/os_shutdown.cpp index 73e6b1bba..acdddac8e 100644 --- a/src/core/os_shutdown.cpp +++ b/src/core/os_shutdown.cpp @@ -7,9 +7,8 @@ * * Based on the original code of Epona by Lara. * Based on the original code of Services by Andy Church. - * - * */ + /*************************************************************************/ #include "module.h" @@ -23,7 +22,6 @@ class CommandOSShutdown : public Command CommandReturn Execute(User *u, const std::vector<ci::string> ¶ms) { - quitmsg = new char[32 + u->nick.length()]; if (!quitmsg) quitmsg = "SHUTDOWN command received, but out of memory!"; |