Modulefy core server-dependent caps

This commit is contained in:
Alexey Sokolov committed 2024-01-13 23:34:03 +00:00
1 parent da3919245b
commit f7ff0ee3f3
6 files changed
+86 -15

No files matched your search

-11
View File
@@ -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