mirror of
https://github.com/znc/znc.git
synced 2026-07-06 18:01:21 +02:00
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:
+2
-4
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user