summaryrefslogtreecommitdiff
path: root/stopspam
diff options
context:
space:
mode:
Diffstat (limited to 'stopspam')
-rw-r--r--stopspam/src/events.cpp6
-rw-r--r--stopspam/stopspam_10.suobin9216 -> 0 bytes
-rw-r--r--stopspam/stopspam_10.vcxproj3
3 files changed, 3 insertions, 6 deletions
diff --git a/stopspam/src/events.cpp b/stopspam/src/events.cpp
index 74d4195..fa73a07 100644
--- a/stopspam/src/events.cpp
+++ b/stopspam/src/events.cpp
@@ -46,15 +46,13 @@ MIRANDA_HOOK_EVENT(ME_DB_EVENT_ADDED, wParam, lParam)
#ifdef _UNICODE
AuthRepl=mir_u2a(variables_parse(plSets->AuthRepl.Get(), hcntct).c_str());
#else
- AuthRepl=variables_parse(plSets->AuthRepl.Get(), hcntct).c_str();
+ AuthRepl=mir_strdup( variables_parse(plSets->AuthRepl.Get(), hcntct).c_str());
#endif
// ...send message
std::string allowService = dbei.szModule;
allowService += PS_AUTHDENY;
CallService(allowService.c_str(), (WPARAM)hDbEvent, (LPARAM)AuthRepl);
- #ifdef _UNICODE
- mir_free(AuthRepl);
- #endif
+ mir_free(AuthRepl);
DBWriteContactSettingByte(hcntct, "CList", "NotOnList", 1);
DBWriteContactSettingByte(hcntct, "CList", "Hidden", 1);
if (!plSets->HistLog.Get())
diff --git a/stopspam/stopspam_10.suo b/stopspam/stopspam_10.suo
deleted file mode 100644
index 1e441b5..0000000
--- a/stopspam/stopspam_10.suo
+++ /dev/null
Binary files differ
diff --git a/stopspam/stopspam_10.vcxproj b/stopspam/stopspam_10.vcxproj
index 309dea4..1e1f333 100644
--- a/stopspam/stopspam_10.vcxproj
+++ b/stopspam/stopspam_10.vcxproj
@@ -78,7 +78,6 @@
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug Unicode|Win32'">$(SolutionDir)$(Configuration)\Obj\$(ProjectName)</IntDir>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug Unicode|Win32'">false</LinkIncremental>
<IgnoreImportLibrary Condition="'$(Configuration)|$(Platform)'=='Release Unicode|Win32'">true</IgnoreImportLibrary>
- <IncludePath Condition="'$(Configuration)|$(Platform)'=='Release Unicode|Win32'">D:\Sources\include;$(IncludePath)</IncludePath>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
@@ -143,7 +142,7 @@
<AdditionalIncludeDirectories>../../include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;STOPSPAM_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>true</StringPooling>
- <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
+ <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<FunctionLevelLinking>true</FunctionLevelLinking>
<EnableEnhancedInstructionSet>NotSet</EnableEnhancedInstructionSet>
<PrecompiledHeader>