comparison mcabber/src/main.c @ 1607:14690e624e9d

Add modules
author Myhailo Danylenko <isbear@ukrpost.net>
date Sun, 11 Oct 2009 16:01:52 +0200
parents c5ee395fbc8c
children 6db9f403f707
comparison
equal deleted inserted replaced
1606:d7f26538c24c 1607:14690e624e9d
167 puts("Compiled with unicode support."); 167 puts("Compiled with unicode support.");
168 #endif 168 #endif
169 #ifdef HAVE_GPGME 169 #ifdef HAVE_GPGME
170 puts("Compiled with GPG support."); 170 puts("Compiled with GPG support.");
171 #endif 171 #endif
172 #ifdef MODULES_ENABLE
173 puts ("Compiled with modules support");
174 #endif
172 #ifdef HAVE_LIBOTR 175 #ifdef HAVE_LIBOTR
173 puts("Compiled with OTR support."); 176 puts("Compiled with OTR support.");
174 #endif 177 #endif
175 #ifdef WITH_ENCHANT 178 #ifdef WITH_ENCHANT
176 puts("Compiled with Enchant support."); 179 puts("Compiled with Enchant support.");
414 417
415 g_timeout_add(10, mcabber_loop, NULL); 418 g_timeout_add(10, mcabber_loop, NULL);
416 g_main_loop_run(main_loop); 419 g_main_loop_run(main_loop);
417 420
418 scr_TerminateCurses(); 421 scr_TerminateCurses();
422 #ifdef MODULES_ENABLE
423 cmd_deinit();
424 #endif
419 fifo_deinit(); 425 fifo_deinit();
420 #ifdef HAVE_LIBOTR 426 #ifdef HAVE_LIBOTR
421 otr_terminate(); 427 otr_terminate();
422 #endif 428 #endif
423 xmpp_disconnect(); 429 xmpp_disconnect();