From 92916d3d9d67abf583b875486d54b1c20ad5883f Mon Sep 17 00:00:00 2001 From: sje Date: Mon, 9 Jul 2007 16:27:12 +0000 Subject: fix for 'add permanently to list' functions limit max message length 'correctly' (thx Jeff) git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@262 4f64403b-2f21-0410-a795-97e2b3489a10 --- MySpace/MySpace.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'MySpace/MySpace.cpp') diff --git a/MySpace/MySpace.cpp b/MySpace/MySpace.cpp index f9abd6a..0478360 100644 --- a/MySpace/MySpace.cpp +++ b/MySpace/MySpace.cpp @@ -130,13 +130,14 @@ extern "C" __declspec (dllexport) int Load(PLUGINLINK *link) { CharUpperA(MODULE); } - if(ServiceExists(MS_DB_SETSETTINGRESIDENT)) { // 0.6+ char buff[256]; mir_snprintf(buff, 256, "%s/%s", MODULE, "Status"); CallService(MS_DB_SETSETTINGRESIDENT, TRUE, (LPARAM)buff); mir_snprintf(buff, 256, "%s/%s", MODULE, "StatusMsg"); CallService(MS_DB_SETSETTINGRESIDENT, TRUE, (LPARAM)buff); + mir_snprintf(buff, 256, "%s/%s", MODULE, "IdleTS"); + CallService(MS_DB_SETSETTINGRESIDENT, TRUE, (LPARAM)buff); } InitARC4Module(); -- cgit v1.2.3