From ea5ec8496c64200b45b7eac36f7a6c337d4a8adb Mon Sep 17 00:00:00 2001 From: Kyle Fuller Date: Sun, 3 Apr 2011 02:12:16 +0100 Subject: [PATCH] Remove a pointless status command provided by the shell module --- modules/extra/shell.cpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/modules/extra/shell.cpp b/modules/extra/shell.cpp index 58d704de..9a6f30bc 100644 --- a/modules/extra/shell.cpp +++ b/modules/extra/shell.cpp @@ -123,15 +123,6 @@ public: } } - virtual EModRet OnStatusCommand(CString& sCommand) { - if (sCommand.Equals("SHELL")) { - PutShell("-- ZNC Shell Service --"); - return HALT; - } - - return CONTINUE; - } - virtual EModRet OnDCCUserSend(const CNick& RemoteNick, unsigned long uLongIP, unsigned short uPort, const CString& sFile, unsigned long uFileSize) { if (RemoteNick.GetNick().Equals(GetModNick())) { CString sLocalFile = CDir::ChangeDir(m_sPath, sFile, CZNC::Get().GetHomePath());