diff options
Diffstat (limited to 'src/chat/chat.cpp')
| -rw-r--r-- | src/chat/chat.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/chat/chat.cpp b/src/chat/chat.cpp index 066bfbc..a56c74d 100644 --- a/src/chat/chat.cpp +++ b/src/chat/chat.cpp @@ -171,6 +171,7 @@ chat::login( map<string,string> &map_params ) { map_params["INFO"] = wrap::CONF->get_elem( "chat.msgs.err.online" ); map_params["request"] = wrap::CONF->get_elem( "httpd.startsite" ); + return; } @@ -187,12 +188,10 @@ chat::login( map<string,string> &map_params ) wrap::system_message( LOGINER + s_user ); return; } - if ( p_user->get_has_sess() ) { map_params["tmpid"] = p_user->get_tmpid(); } - else { sess* p_sess = wrap::SMAN->create_session(); @@ -257,6 +256,7 @@ chat::login( map<string,string> &map_params ) p_user->set_col1( map_params["color1"] ); p_user->set_col2( map_params["color2"] ); p_user->set_status( tool::string2int(map_params["status"])); + // p_user->set_sess( p_sess ); } // Prove if user is the default operator. |
