EVT_LOGOUT hooks are now called with the thread's current
authorArt Cancro <ajc@citadel.org>
Wed, 19 Mar 2008 19:28:48 +0000 (19:28 +0000)
committerArt Cancro <ajc@citadel.org>
Wed, 19 Mar 2008 19:28:48 +0000 (19:28 +0000)
commit82cc269aac09100aec87a0d19635e943ce1efbc8
treed24bdf6ddcc23aef8f3616bf2e1c32f365a4b9d0
parentc0cbc6e7d61f8e5d6cfa7f1c69ee1b5eea64823c
EVT_LOGOUT hooks are now called with the thread's current
CitContext set to that of the session being logged out, even when
killing a session administratively.  This allows the identity of the
user to be passed along to module hooks.  This fixes the problem in
the Jabber server where buddy 'ghosts' whould remain visible to
clients if the user disconnected without logging off.
citadel/citadel_ipc.c
citadel/citserver.c
citadel/user_ops.c
citadel/user_ops.h