summaryrefslogtreecommitdiff
path: root/plugins/StopSpamMod
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2021-12-26 16:39:04 +0300
committerGeorge Hazan <ghazan@miranda.im>2021-12-26 16:39:04 +0300
commit62a186697df33c96dc1a6dac0f4dfc38652fb96f (patch)
tree1437d0906218fae8827aed384026f2b7e656f4ac /plugins/StopSpamMod
parentfcbb395dc7ff3edab972b6d4b27dbbfb3305f5d7 (diff)
BYTE -> uint8_t
Diffstat (limited to 'plugins/StopSpamMod')
-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);