diff options
author | sje <sje@4f64403b-2f21-0410-a795-97e2b3489a10> | 2007-07-09 16:27:12 +0000 |
---|---|---|
committer | sje <sje@4f64403b-2f21-0410-a795-97e2b3489a10> | 2007-07-09 16:27:12 +0000 |
commit | 92916d3d9d67abf583b875486d54b1c20ad5883f (patch) | |
tree | 02bb5eb09274a73717dffac3120864eb9e3ea3ac /MySpace/MySpace.cpp | |
parent | 68368a3478231511990298a666289c920319206e (diff) |
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
Diffstat (limited to 'MySpace/MySpace.cpp')
-rw-r--r-- | MySpace/MySpace.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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();
|