diff options
Diffstat (limited to 'src/modules/protocols/protochains.cpp')
-rw-r--r-- | src/modules/protocols/protochains.cpp | 5 |
1 files changed, 5 insertions, 0 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);
|