From 412bdb786924dfc9cd223a1cad72805b5ce139ce Mon Sep 17 00:00:00 2001 From: Alexey Sokolov Date: Tue, 25 Dec 2012 00:28:10 +0700 Subject: [PATCH] Fix my fix which was supposed to fix #220 Thanks to KindOne for reporting the issue with that fix. 363 numeric was sent twice to the client for attached channels. --- src/IRCSock.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/IRCSock.cpp b/src/IRCSock.cpp index 3ccc52ce..36dd3f80 100644 --- a/src/IRCSock.cpp +++ b/src/IRCSock.cpp @@ -415,12 +415,11 @@ void CIRCSock::ReadLine(const CString& sData) { } } if (pChan->IsDetached()) { + // don't put it to clients return; } } - m_pNetwork->PutUser(sLine); - break; } case 381: // You are now an IRC Operator