Remove a pointless status command provided by the shell module

This commit is contained in:
Kyle Fuller
2011-04-03 02:12:16 +01:00
parent 8ad2d907b5
commit ea5ec8496c

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());