From eab0b1c2d649fa16707b24cd2a91f195078167b0 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sat, 6 Apr 2013 13:14:46 +0200 Subject: tagging ychat-0.7.2 --- src/conf/conf.cpp | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'src/conf/conf.cpp') diff --git a/src/conf/conf.cpp b/src/conf/conf.cpp index 99347e9..67849ef 100755 --- a/src/conf/conf.cpp +++ b/src/conf/conf.cpp @@ -12,7 +12,7 @@ conf::conf( string s_conf, map* p_start_params ) : nmap* p_start_params ) : nmap vec_string; parse_xml(p_xml, &vec_string); - nmap::add_elem_insecure(tool::yhttpd_version(), "yhttpd.version"); + nmap::add_elem_insecure(tool::ychat_version(), "ychat.version"); - // Overrides yhttpd.conf values with command line options (yhttpd -o key1 value1 -o key2 value2 ...) + // Overrides ychat.conf values with command line options (ychat -o key1 value1 -o key2 value2 ...) map::iterator iter; for ( iter = p_start_params->begin(); iter != p_start_params->end(); iter++ ) { @@ -152,4 +152,12 @@ conf::exit_if_xml_error() const } } +//<<* +string +conf::colored_error_msg(string s_key) +{ + return "::get_elem("chat.html.errorcolor") + "\">" + nmap::get_elem(s_key) + "
\n"; +} +//*>> + #endif -- cgit v1.2.3