diff options
| -rw-r--r-- | plugins/NewXstatusNotify/src/main.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/NewXstatusNotify/src/main.cpp b/plugins/NewXstatusNotify/src/main.cpp index 0896ac52bc..971189eae3 100644 --- a/plugins/NewXstatusNotify/src/main.cpp +++ b/plugins/NewXstatusNotify/src/main.cpp @@ -776,7 +776,7 @@ int ContactStatusChanged(MCONTACT hContact, WORD oldStatus,WORD newStatus)  			// to avoid notifying when meta went offline but default contact's proto still online
  			DBVARIANT dbv;
  			if (!db_get_s(hContact, szProto, "LastOnline", &dbv)) {
 -				strcpy(szSubProto, dbv.pszVal);
 +				szSubProto = NEWSTR_ALLOCA(dbv.pszVal);
  				db_free(&dbv);
  			}
  		}
  | 
