From: <ba...@us...> - 2008-05-28 22:48:47
|
Revision: 10052 http://amsn.svn.sourceforge.net/amsn/?rev=10052&view=rev Author: baaazen Date: 2008-05-28 15:48:50 -0700 (Wed, 28 May 2008) Log Message: ----------- r9560 to branch: 3 new events: addedUser , deletedUser , ChangeDP . Modified Paths: -------------- branches/0_97/amsn/protocol.tcl Modified: branches/0_97/amsn/protocol.tcl =================================================================== --- branches/0_97/amsn/protocol.tcl 2008-05-28 22:46:00 UTC (rev 10051) +++ branches/0_97/amsn/protocol.tcl 2008-05-28 22:48:50 UTC (rev 10052) @@ -1415,6 +1415,9 @@ } ::MSN::WriteSB ns "ADC" "FL N=$userlogin F=$username" "::MSN::ADCHandler $gid" + + set evPar(userlogin) userlogin + ::plugins::PostEvent addedUser evPar } #Handler for the ADC message, to show the ADD messagebox, and to move a user to a group if gid != 0 @@ -1467,6 +1470,8 @@ foreach groupID [::abook::getGroups $userlogin] { ::MSN::WriteSB ns REM "FL [::abook::getContactData $userlogin contactguid] $groupID" } + set evPar(userlogin) userlogin + ::plugins::PostEvent deletedUser evPar } ################################################## This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |