projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a4b43a2
)
* fallback to /knrooms after login if the user doesn't have a setting.
author
Wilfried Göesgens
<willi@citadel.org>
Tue, 29 Jul 2008 18:21:28 +0000
(18:21 +0000)
committer
Wilfried Göesgens
<willi@citadel.org>
Tue, 29 Jul 2008 18:21:28 +0000
(18:21 +0000)
webcit/auth.c
patch
|
blob
|
history
diff --git
a/webcit/auth.c
b/webcit/auth.c
index 8912b92a943e18905e979b5442fa1cc1f24e2c35..d347e78414a657de154d4ef261794dc55f29d2aa 100644
(file)
--- 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));
}