mirror of
https://github.com/znc/znc.git
synced 2026-08-08 18:03:22 +02:00
Suppress a CAP error on servers that dont support it.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@2070 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
@@ -316,6 +316,11 @@ void CIRCSock::ReadLine(const CString& sData) {
|
||||
}
|
||||
break;
|
||||
}
|
||||
case 451:
|
||||
// :irc.server.com 451 CAP :You have not registered
|
||||
// Servers that dont support CAP will give us this error, dont send it to the client
|
||||
if (sNick.Equals("CAP"))
|
||||
return;
|
||||
case 470: {
|
||||
// :irc.unreal.net 470 mynick [Link] #chan1 has become full, so you are automatically being transferred to the linked channel #chan2
|
||||
// :mccaffrey.freenode.net 470 mynick #electronics ##electronics :Forwarding to another channel
|
||||
|
||||
Reference in New Issue
Block a user