From 48d53876d6c7eabce42710af258da8e3456a9b32 Mon Sep 17 00:00:00 2001 From: psychon Date: Wed, 23 Jul 2008 15:05:35 +0000 Subject: [PATCH] Even more weird and broken clients sending even more and broken stuff PART :#channel... Why do IRCds even parse this correctly? :( Oh and yeah, it's eggdrop. git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1145 726aef4b-f618-498e-8847-2d620e286838 --- Client.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Client.cpp b/Client.cpp index 7c5385df..628bdf76 100644 --- a/Client.cpp +++ b/Client.cpp @@ -208,6 +208,10 @@ void CClient::ReadLine(const CString& sData) { CString sChan = sLine.Token(1); CString sMessage = sLine.Token(2, true); + if (sChan.Left(1) == ":") { + // I hate those broken clients, I hate them so much, I really hate them... + sChan.LeftChomp(); + } if (sMessage.Left(1) == ":") { sMessage.LeftChomp(); }