diff mcabber/mcabber/commands.c @ 2123:300e7bf4416a

remove 'show_room_occupants_count' option. Just add member count unconditionaly
author sh!zeeg <shizeeque@gmail.com>
date Wed, 14 May 2014 13:57:56 +0400
parents b41719d57dac
children 5d6838f40736
line wrap: on
line diff
--- a/mcabber/mcabber/commands.c	Wed May 14 10:47:56 2014 +0400
+++ b/mcabber/mcabber/commands.c	Wed May 14 13:57:56 2014 +0400
@@ -2127,10 +2127,8 @@
     g_free(p_res->data);
   }
   
-  if (settings_opt_get_int("show_room_occupants_count")) {
-    snprintf(buffer, 4095, "Total: %d", cnt);
-    scr_WriteIncomingMessage(bjid, buffer, 0, HBB_PREFIX_INFO, 0);
-  }
+  snprintf(buffer, 4095, "Total: %d", cnt);
+  scr_WriteIncomingMessage(bjid, buffer, 0, HBB_PREFIX_INFO, 0);
   
   g_slist_free(resources);
   g_free(buffer);