summaryrefslogtreecommitdiff
path: root/plugins/NewXstatusNotify
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/NewXstatusNotify')
-rw-r--r--plugins/NewXstatusNotify/src/utils.cpp11
-rw-r--r--plugins/NewXstatusNotify/src/utils.h1
2 files changed, 0 insertions, 12 deletions
diff --git a/plugins/NewXstatusNotify/src/utils.cpp b/plugins/NewXstatusNotify/src/utils.cpp
index 3e9d0f7f35..fddbc148f1 100644
--- a/plugins/NewXstatusNotify/src/utils.cpp
+++ b/plugins/NewXstatusNotify/src/utils.cpp
@@ -65,17 +65,6 @@ void ShowLog(TCHAR *file)
MessageBox(0, TranslateT("Can't open the log file!"), TranslateT("NewXstatusNotify"), MB_OK | MB_ICONERROR);
}
-int ProtoServiceExists(const char *szModule, const char *szService)
-{
- char str[MAXMODULELABELLENGTH];
- if (szModule == NULL || szService == NULL)
- return 0;
-
- strcpy(str,szModule);
- strcat(str,szService);
- return ServiceExists(str);
-}
-
BOOL StatusHasAwayMessage(char *szProto, int status)
{
if (szProto != NULL) {
diff --git a/plugins/NewXstatusNotify/src/utils.h b/plugins/NewXstatusNotify/src/utils.h
index 0c20662100..384b01c511 100644
--- a/plugins/NewXstatusNotify/src/utils.h
+++ b/plugins/NewXstatusNotify/src/utils.h
@@ -26,7 +26,6 @@ TCHAR *db2t(DBVARIANT *dbv);
int DBGetStringDefault(HANDLE hContact, const char *szModule, const char *szSetting, TCHAR *setting, int size, const TCHAR *defaultValue);
void HigherLower(int maxValue, int minValue);
void ShowLog(TCHAR *file);
-int ProtoServiceExists(const char *szModule, const char *szService);
BOOL StatusHasAwayMessage(char *szProto, int status);
void LogToFile(TCHAR *stzText);