diff options
author | FreeArtMan <dos21h@gmail.com> | 2015-05-16 19:22:46 +0900 |
---|---|---|
committer | FreeArtMan <dos21h@gmail.com> | 2015-05-16 19:22:46 +0900 |
commit | 5e5e5b1cbcb98eda7e0c52a367c66b944b480eda (patch) | |
tree | a1f474aae55cfcfe50388e06c13687279b11a4be /microbbs.c | |
parent | f1fb9827faec228246062f2cd8e38f0dd3338e3a (diff) | |
download | microbbs-5e5e5b1cbcb98eda7e0c52a367c66b944b480eda.tar.gz microbbs-5e5e5b1cbcb98eda7e0c52a367c66b944b480eda.zip |
Added default config file loading. Add functionality for bbs todo file.
Diffstat (limited to 'microbbs.c')
-rw-r--r-- | microbbs.c | 10 |
1 files changed, 1 insertions, 9 deletions
@@ -25,14 +25,6 @@ int main( int argc, char **argv ) int main_menu_input=0; char main_menu_cmd; -#ifdef NDEBUG - printf("Assertions on\n"); -#endif - - //initialise default config options - config_default(); - config_from_argv( argc, argv ); - term_screen ts; memset( (void *)&ts, 0, sizeof(ts) ); term_init( &ts ); term_set_raw_mode( &ts ); @@ -46,7 +38,7 @@ int main( int argc, char **argv ) //lunch captcha and try to detect if its random bot #ifdef CONFIG_CAPTCHA - if ( captcha_test1( &ts ) != 1) + if ( captcha_test1( ts ) != 1) { goto exit_restore_terminal; } |