summaryrefslogtreecommitdiffstats
path: root/motd.c
diff options
context:
space:
mode:
authorFreeArtMan <dos21h@gmail.com>2014-12-09 10:31:37 +0900
committerFreeArtMan <dos21h@gmail.com>2014-12-09 10:31:37 +0900
commita57c6bed8f6ab7d0f4355190c0cff7cd913da6a0 (patch)
treec8b85b9de364cb63678d05625bdff6a2cf12ecda /motd.c
parentdc4bbe5366d6c733f9f77b7c9fee0cbba3e0d92b (diff)
downloadmicrobbs-a57c6bed8f6ab7d0f4355190c0cff7cd913da6a0.tar.gz
microbbs-a57c6bed8f6ab7d0f4355190c0cff7cd913da6a0.zip
New planned functionality. Menuconfig support. Simple captcha.
Diffstat (limited to 'motd.c')
-rw-r--r--motd.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/motd.c b/motd.c
index ce68f77..8d11b3f 100644
--- a/motd.c
+++ b/motd.c
@@ -1,5 +1,7 @@
#include "motd.h"
+#ifdef CONFIG_MOTD
+
//TODO merge 2 functions in one proper
//TODO complcations with libterm
int bbs_login_motd( term_screen *ts, const char *fname )
@@ -100,4 +102,6 @@ int bbs_quit_motd( term_screen *ts, const char *fname )
//printf("%d %d %d\n",y,posy,ts->term_row);
return 0;
-} \ No newline at end of file
+}
+
+#endif \ No newline at end of file