Remove/fix some dead code

All of this was found via warnings ("remarks") from icc.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1435 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
psychon
2009-03-20 10:00:31 +00:00
parent e64b2549f5
commit 860ccb7dec
3 changed files with 3 additions and 9 deletions
+2 -4
View File
@@ -182,7 +182,6 @@ void CIRCSock::ReadLine(const CString& sData) {
case 432: // :irc.server.com 432 * nick :Erroneous Nickname: Illegal characters
case 433: {
CString sBadNick = sRest.Token(0);
CString sConfNick = m_pUser->GetNick().Left(GetMaxNickLen());
if (!m_bAuthed) {
SendAltNick(sBadNick);
@@ -681,11 +680,10 @@ bool CIRCSock::OnPrivCTCP(CNick& Nick, CString& sMessage) {
}
return true;
} else {
return OnGeneralCTCP(Nick, sMessage);
}
return false;
// This handles everything which wasn't handled yet
return OnGeneralCTCP(Nick, sMessage);
}
bool CIRCSock::OnGeneralCTCP(CNick& Nick, CString& sMessage) {