mirror of
https://github.com/znc/znc.git
synced 2026-05-02 11:32:29 +02:00
Modulefy core server-dependent caps
This commit is contained in:
@@ -764,17 +764,6 @@ CClient::CoreCaps() {
|
||||
}}},
|
||||
{"cap-notify",
|
||||
{false, [](CClient* pClient, bool bVal) { pClient->m_bCapNotify = bVal; }}},
|
||||
{"away-notify",
|
||||
{true, [](CClient* pClient, bool bVal) { pClient->m_bAwayNotify = bVal; }}},
|
||||
{"account-notify",
|
||||
{true, [](CClient* pClient, bool bVal) { pClient->m_bAccountNotify = bVal; }}},
|
||||
{"account-tag",
|
||||
{true, [](CClient* pClient, bool bVal) {
|
||||
pClient->m_bAccountTag = bVal;
|
||||
pClient->SetTagSupport("account", bVal);
|
||||
}}},
|
||||
{"extended-join",
|
||||
{true, [](CClient* pClient, bool bVal) { pClient->m_bExtendedJoin = bVal; }}},
|
||||
};
|
||||
|
||||
// For compatibility with older clients
|
||||
|
||||
Reference in New Issue
Block a user