summaryrefslogtreecommitdiff
path: root/plugins/StatusPlugins/StartupStatus/profiles.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/StatusPlugins/StartupStatus/profiles.cpp')
-rw-r--r--plugins/StatusPlugins/StartupStatus/profiles.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/StatusPlugins/StartupStatus/profiles.cpp b/plugins/StatusPlugins/StartupStatus/profiles.cpp
index cc98753df6..309c249a6a 100644
--- a/plugins/StatusPlugins/StartupStatus/profiles.cpp
+++ b/plugins/StatusPlugins/StartupStatus/profiles.cpp
@@ -189,7 +189,7 @@ char *GetStatusMessage(int profile, char *szProto)
DBVARIANT dbv;
for ( int i=0; i < pceCount; i++ ) {
- if ( (pce[i].profile == profile) && (!strcmp(pce[i].szProto, szProto)) ) {
+ if ( (pce[i].profile == profile) && (!strcmp(pce[i].szProto, szProto))) {
_snprintf(dbSetting, sizeof(dbSetting), "%d_%s_%s", profile, szProto, SETTING_PROFILE_STSMSG);
if (!DBGetContactSetting(NULL, MODULENAME, dbSetting, &dbv)) { // reload from db
pce[i].msg = ( char* )realloc(pce[i].msg, strlen(dbv.pszVal)+1);