From: Wilfried Göesgens Date: Tue, 29 Jul 2008 18:21:28 +0000 (+0000) Subject: * fallback to /knrooms after login if the user doesn't have a setting. X-Git-Tag: v7.86~2068 X-Git-Url: https://code.citadel.org/?a=commitdiff_plain;h=a8563c836ee5d33ec1f64ea8c45c8712eac40010;p=citadel.git * fallback to /knrooms after login if the user doesn't have a setting. --- diff --git a/webcit/auth.c b/webcit/auth.c index 8912b92a9..d347e7841 100644 --- a/webcit/auth.c +++ b/webcit/auth.c @@ -539,6 +539,8 @@ void do_welcome(void) if (ChrPtr(Buf)[0] == '/') { StrBufCutLeft(Buf, 1); } + if (StrLength(Buf) == 0) + StrBufAppendBufPlain(Buf, "/knrooms", 1, 0); http_redirect(ChrPtr(Buf)); }