summaryrefslogtreecommitdiffstats
path: root/microbbs.c
diff options
context:
space:
mode:
Diffstat (limited to 'microbbs.c')
-rw-r--r--microbbs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/microbbs.c b/microbbs.c
index 337e724..1cb1888 100644
--- a/microbbs.c
+++ b/microbbs.c
@@ -30,7 +30,9 @@ int main( int argc, char **argv )
term_clr_scr( &ts );
//init global variable of bbs user
+#ifdef CONFIG_LOGIN
bbs_user_init( &g_user );
+#endif
//lunch captcha and try to detect if its random bot
#ifdef CONFIG_CAPTCHA