mirror of
https://github.com/znc/znc.git
synced 2026-07-06 01:41:12 +02:00
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:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user