mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
Code cleanup
Since now there are no server-dependent caps defined in the core
This commit is contained in:
@@ -393,9 +393,6 @@ bool CIRCSock::OnCapabilityMessage(CMessage& Message) {
|
||||
}
|
||||
m_ssAcceptedCaps.erase(sCap);
|
||||
m_ssPendingCaps.erase(sCap);
|
||||
if (m_bAuthed) {
|
||||
m_pNetwork->PotentiallyNotifyServerDependentCap(sCap, false);
|
||||
}
|
||||
};
|
||||
|
||||
if (sSubCmd == "LS" || sSubCmd == "NEW") {
|
||||
@@ -424,9 +421,6 @@ bool CIRCSock::OnCapabilityMessage(CMessage& Message) {
|
||||
it->second(true);
|
||||
}
|
||||
m_ssAcceptedCaps.insert(sArgs);
|
||||
if (m_bAuthed) {
|
||||
m_pNetwork->PotentiallyNotifyServerDependentCap(sArgs, true);
|
||||
}
|
||||
} else if (sSubCmd == "NAK") {
|
||||
// This should work because there's no [known]
|
||||
// capability with length of name more than 100 characters.
|
||||
|
||||
Reference in New Issue
Block a user