diff options
-rw-r--r-- | metacontacts/MetaContacts_9.vcproj | 4 | ||||
-rw-r--r-- | metacontacts/meta_services.c | 3 | ||||
-rw-r--r-- | metacontacts/version.h | 2 |
3 files changed, 6 insertions, 3 deletions
diff --git a/metacontacts/MetaContacts_9.vcproj b/metacontacts/MetaContacts_9.vcproj index 60e1cbd..87dff4b 100644 --- a/metacontacts/MetaContacts_9.vcproj +++ b/metacontacts/MetaContacts_9.vcproj @@ -1,4 +1,4 @@ -<?xml version="1.0" encoding="windows-1251"?>
+<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject
ProjectType="Visual C++"
Version="9.00"
@@ -52,7 +52,7 @@ <Tool
Name="VCCLCompilerTool"
Optimization="0"
- AdditionalIncludeDirectories="../../../include"
+ AdditionalIncludeDirectories="../../include"
PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;METACONTACTS_EXPORTS"
BasicRuntimeChecks="3"
RuntimeLibrary="1"
diff --git a/metacontacts/meta_services.c b/metacontacts/meta_services.c index c008021..ec64e32 100644 --- a/metacontacts/meta_services.c +++ b/metacontacts/meta_services.c @@ -279,6 +279,9 @@ INT_PTR MetaFilter_SendMessage(WPARAM wParam,LPARAM lParam) if(strlen((char *)ccs->lParam) > 5 && strncmp((char *)ccs->lParam, "<%dAM", 5) == 0)
return CallService(MS_PROTO_CHAINSEND, wParam, lParam); // continue processing
+ // reject "OTR" messages
+ if(strlen((char *)ccs->lParam) > 5 && strncmp((char *)ccs->lParam, "?OTR", 4) == 0)
+ return CallService(MS_PROTO_CHAINSEND, wParam, lParam); // continue processing
ZeroMemory(&dbei, sizeof(dbei));
dbei.cbSize = sizeof(dbei);
diff --git a/metacontacts/version.h b/metacontacts/version.h index e563bc6..e79231d 100644 --- a/metacontacts/version.h +++ b/metacontacts/version.h @@ -5,7 +5,7 @@ #define __MAJOR_VERSION 0
#define __MINOR_VERSION 14
#define __RELEASE_NUM 0
-#define __BUILD_NUM 9
+#define __BUILD_NUM 10
#define __FILEVERSION_STRING __MAJOR_VERSION,__MINOR_VERSION,__RELEASE_NUM,__BUILD_NUM
#define __FILEVERSION_STRING_DOTS __MAJOR_VERSION.__MINOR_VERSION.__RELEASE_NUM.__BUILD_NUM
|