public static void EventSink_Logout( LogoutEventArgs e ) { Mobile from = e.Mobile; Party p = Party.Get( from ); if ( p != null ) p.Remove( from ); from.Party = null; }