Remove a pointless status command provided by the shell module

This commit is contained in:
Kyle Fuller committed 2011-04-04 16:57:44 +01:00
1 parent 8ad2d907b5
commit ea5ec8496c
1 file changed
-9
-9
View File
@@ -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());