mirror of
https://github.com/znc/znc.git
synced 2026-04-30 18:42:25 +02:00
Remove a pointless status command provided by the shell module
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user