summaryrefslogtreecommitdiff
path: root/Plugins/avatarhistory/popup.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Plugins/avatarhistory/popup.cpp')
-rw-r--r--Plugins/avatarhistory/popup.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/Plugins/avatarhistory/popup.cpp b/Plugins/avatarhistory/popup.cpp
index a1319fe..dc03ee7 100644
--- a/Plugins/avatarhistory/popup.cpp
+++ b/Plugins/avatarhistory/popup.cpp
@@ -76,6 +76,14 @@ void ShowPopup(HANDLE hContact, const TCHAR *title, const TCHAR *description)
ShowPopupEx(hContact, title, description, hContact, POPUP_TYPE_NORMAL, &opts);
}
+void ShowDebugPopup(HANDLE hContact, const TCHAR *title, const TCHAR *description)
+{
+ if(DBGetContactSettingByte(NULL,MODULE_NAME,"Debug",0))
+ {
+ ShowPopup(hContact,title,description);
+ }
+}
+
typedef struct
{
void* plugin_data;