From 2b10bc5fbbb7f387faad2cc9d74d62abd8ff466c Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 23 Feb 2018 16:11:47 +0300 Subject: fixes #1165 (StopSpam mod: crash on "stopspam.cpp (81): OnDbEventFilterAdd") --- plugins/StopSpamMod/src/utilities.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/StopSpamMod/src/utilities.h') diff --git a/plugins/StopSpamMod/src/utilities.h b/plugins/StopSpamMod/src/utilities.h index 8d75c10905..f941823bd0 100755 --- a/plugins/StopSpamMod/src/utilities.h +++ b/plugins/StopSpamMod/src/utilities.h @@ -2,7 +2,7 @@ std::wstring DBGetContactSettingStringPAN(MCONTACT hContact, char const * szModu std::string DBGetContactSettingStringPAN_A(MCONTACT hContact, char const * szModule, char const * szSetting, std::string errorValue); std::wstring &GetDlgItemString(HWND hwnd, int id); std::string &GetProtoList(); -bool ProtoInList(std::string proto); +bool ProtoInList(const char *szProto); std::wstring variables_parse(std::wstring const &tstrFormat, MCONTACT hContact); const int Stricmp(const wchar_t *str, const wchar_t *substr); //const int Stristr(const wchar_t *str, const wchar_t *substr); -- cgit v1.2.3