From: <mg...@us...> - 2007-11-07 17:04:49
|
Revision: 211 http://planeshift.svn.sourceforge.net/planeshift/?rev=211&view=rev Author: mgist Date: 2007-11-07 09:04:51 -0800 (Wed, 07 Nov 2007) Log Message: ----------- Modified Paths: -------------- trunk/src/server/adminmanager.cpp Modified: trunk/src/server/adminmanager.cpp =================================================================== --- trunk/src/server/adminmanager.cpp 2007-11-07 16:59:34 UTC (rev 210) +++ trunk/src/server/adminmanager.cpp 2007-11-07 17:04:51 UTC (rev 211) @@ -1816,6 +1816,8 @@ } // Delete entries of character's from DB + csString spouseFullName = divorcerChar->GetSpouseName(); + csString spouseName = spouseFullName.Slice( 0, spouseFullName.FindFirst(' ')); marriageMgr->DeleteMarriageInfo(divorcerChar); psserver->SendSystemInfo(me->clientnum, "You have divorced %s from %s.", data.player.GetData(), spouseName.GetData()); Debug3(LOG_MARRIAGE, me->clientnum, "%s divorced from %s.", data.player.GetData(), spouseName.GetData()); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |