summaryrefslogtreecommitdiff
path: root/src/wrap.cpp
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2013-04-06 13:14:43 +0200
committerPaul Buetow <paul@buetow.org>2013-04-06 13:14:43 +0200
commitd3982ec72b255876db00825605d1d5aae0bc313e (patch)
treea653552b7d229f7f27262980da7550d39961a102 /src/wrap.cpp
parent796609174e5ecb35fab992969e7690186840048a (diff)
tagging ychat-0.7.7.1ychat-0.7.7.1
Diffstat (limited to 'src/wrap.cpp')
-rwxr-xr-xsrc/wrap.cpp14
1 files changed, 10 insertions, 4 deletions
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