From 049682b893e6656bd993f00bd14dca717ad76d7f Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Thu, 11 Jun 2009 21:36:01 +0000 Subject: [PATCH] * Added an extra logging message to try to figure out the problem of users being directed to a bogus room upon login --- webcit/auth.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/webcit/auth.c b/webcit/auth.c index f9336fd84..3913a1032 100644 --- a/webcit/auth.c +++ b/webcit/auth.c @@ -173,8 +173,6 @@ void do_login(void) wcsession *WCC = WC; StrBuf *Buf; - lprintf(9, "SELECTED LANGUAGE: '%s'\n", bstr("language")); - if (havebstr("language")) { set_selected_language(bstr("language")); go_selected_language(); @@ -514,8 +512,10 @@ void do_welcome(void) if (ChrPtr(Buf)[0] == '/') { StrBufCutLeft(Buf, 1); } - if (StrLength(Buf) == 0) + if (StrLength(Buf) == 0) { StrBufAppendBufPlain(Buf, "dotgoto?room=_BASEROOM_", -1, 0); + } + lprintf(9, "Redirecting to user's start page: %s\n", ChrPtr(Buf)); http_redirect(ChrPtr(Buf)); } -- 2.30.2