* Store the language setting in the session cookie instead of as a preference. Resol...
[citadel.git] / webcit / webcit.c
index afa7ac886a8abf84764a0c91b70f039db092bd23..5629c9ec124fd471d6a5582912bc03fe7a3681d4 100644 (file)
@@ -157,8 +157,12 @@ void output_headers(       int do_httpheaders,     /* 1 = output HTTP headers
        }
 
        stuff_to_cookie(cookie, 1024, 
-                       WCC->wc_session, WCC->wc_username,
-                       WCC->wc_password, WCC->wc_roomname);
+                       WCC->wc_session,
+                       WCC->wc_username,
+                       WCC->wc_password,
+                       WCC->wc_roomname,
+                       get_selected_language()
+       );
 
        if (unset_cookies) {
                hprintf("Set-cookie: webcit=%s; path=/\r\n", unset);