From d3982ec72b255876db00825605d1d5aae0bc313e Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sat, 6 Apr 2013 13:14:43 +0200 Subject: tagging ychat-0.7.7.1 --- src/wrap.cpp | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'src/wrap.cpp') diff --git a/src/wrap.cpp b/src/wrap.cpp index b6c8358..715ce56 100755 --- a/src/wrap.cpp +++ b/src/wrap.cpp @@ -12,12 +12,14 @@ data* wrap::DATA; #endif gcol* wrap::GCOL; sman* wrap::SMAN; +modl* wrap::MODL; //*>> conf* wrap::CONF; html* wrap::HTML; +#ifdef LOGGING logd* wrap::LOGD; -modl* wrap::MODL; +#endif #ifdef NCURSES ncur* wrap::NCUR; #endif @@ -30,11 +32,15 @@ void wrap::system_message( string s_message ) { #ifdef NCURSES - wrap::NCUR->print( s_message ); + wrap::NCUR->print( s_message ); #endif #ifdef SERVMSG - cout << s_message << endl; + + cout << s_message << endl; +#endif +#ifdef LOGGING + + wrap::LOGD->log_simple_line( s_message + "\n" ); #endif - wrap::LOGD->log_simple_line( s_message + "\n" ); } #endif -- cgit v1.2.3