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
This commit is contained in:
psychon
2008-07-23 15:05:35 +00:00
parent cd8318370a
commit 48d53876d6
+4
View File
@@ -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();
}