$Log$
+ Revision 608.16 2003/08/03 17:51:52 ajc
+ * Clear out all masqueraded wholist fields when logging out, in case another
+ user logs in without reconnecting.
+
Revision 608.15 2003/07/30 20:36:18 ajc
* Allow users to authenticate with either their display name or any valid
e-mail address which belongs to them. Applies to all protocols.
Fri Jul 10 1998 Art Cancro <ajc@uncensored.citadel.org>
* Initial CVS import
+
*/
void logout(struct CitContext *who)
{
+ /*
+ * Clear out some session data. Most likely, the CitContext for this
+ * session is about to get nuked when the session disconnects, but
+ * since it's possible to log in again without reconnecting, we cannot
+ * make that assumption.
+ */
+ strcpy(who->fake_username, "");
+ strcpy(who->fake_postname, "");
+ strcpy(who->fake_hostname, "");
+ strcpy(who->fake_roomname, "");
who->logged_in = 0;
/*