Skip to content

Commit

Permalink
Remove a pointless status command provided by the shell module
Browse files Browse the repository at this point in the history
  • Loading branch information
kylef committed Apr 4, 2011
1 parent 8ad2d90 commit ea5ec84
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions modules/extra/shell.cpp
Expand Up @@ -123,15 +123,6 @@ class CShellMod : public CModule {
}
}

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

0 comments on commit ea5ec84

Please sign in to comment.