summaryrefslogtreecommitdiff
path: root/src/wrap.cpp
diff options
context:
space:
mode:
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