summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/modules/protocols/protochains.cpp5
-rw-r--r--src/modules/protocols/protocols.cpp1
2 files changed, 5 insertions, 1 deletions
diff --git a/src/modules/protocols/protochains.cpp b/src/modules/protocols/protochains.cpp
index 0314282e08..4fe8820e18 100644
--- a/src/modules/protocols/protochains.cpp
+++ b/src/modules/protocols/protochains.cpp
@@ -224,6 +224,11 @@ static INT_PTR Proto_RemoveFromContact(WPARAM wParam, LPARAM lParam)
int LoadProtoChains(void)
{
+ if ( !db_get_b(NULL, "Compatibility", "Filters", 0)) {
+ CallService(MS_DB_MODULE_DELETE, 0, (LPARAM)"_Filters");
+ db_set_b(NULL, "Compatibility", "Filters", 1);
+ }
+
CreateServiceFunction(MS_PROTO_CALLCONTACTSERVICE, Proto_CallContactService);
CreateServiceFunction(MS_PROTO_CHAINSEND, Proto_CallContactService);
CreateServiceFunction(MS_PROTO_CHAINRECV, Proto_ChainRecv);
diff --git a/src/modules/protocols/protocols.cpp b/src/modules/protocols/protocols.cpp
index 19a82b1add..f2bada7aa0 100644
--- a/src/modules/protocols/protocols.cpp
+++ b/src/modules/protocols/protocols.cpp
@@ -662,7 +662,6 @@ int LoadProtocolsModule(void)
InsertServiceListItem(35, PS_GETNAME);
InsertServiceListItem(36, PS_GETSTATUS);
-
InsertServiceListItem(100, PS_SETAWAYMSGW);
InsertServiceListItem(102, PSS_FILEW);
InsertServiceListItem(103, PSS_FILEALLOWW);