summaryrefslogtreecommitdiff
path: root/plugins/StopSpamMod/src
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/StopSpamMod/src')
-rwxr-xr-xplugins/StopSpamMod/src/stopspam.cpp2
-rwxr-xr-xplugins/StopSpamMod/src/utilities.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/StopSpamMod/src/stopspam.cpp b/plugins/StopSpamMod/src/stopspam.cpp
index f1e7ca9361..627536d182 100755
--- a/plugins/StopSpamMod/src/stopspam.cpp
+++ b/plugins/StopSpamMod/src/stopspam.cpp
@@ -44,7 +44,7 @@ int OnDbEventAdded(WPARAM hContact, LPARAM hDbEvent)
Contact_Hide(hcntct);
if (gbSpecialGroup)
Clist_SetGroup(hcntct, gbSpammersGroup.c_str());
- BYTE msg = 1;
+ uint8_t msg = 1;
if (gbIgnoreURL) {
wchar_t* EventText = ReqGetText(&dbei); //else return NULL
msg = !IsUrlContains(EventText);
diff --git a/plugins/StopSpamMod/src/utilities.cpp b/plugins/StopSpamMod/src/utilities.cpp
index 6197b79b35..eba39ebf02 100755
--- a/plugins/StopSpamMod/src/utilities.cpp
+++ b/plugins/StopSpamMod/src/utilities.cpp
@@ -67,7 +67,7 @@ bool ProtoInList(const char *szProto)
void DeleteCListGroupsByName(wchar_t* szGroupName)
{
- BYTE ConfirmDelete = Clist::ConfirmDelete;
+ uint8_t ConfirmDelete = Clist::ConfirmDelete;
if (ConfirmDelete)
db_set_b(0, "CList", "ConfirmDelete", 0);