changeset 1632:d29376ef424d

Remove deprecated option ('hide_offline_buddies')
author Mikael Berthe <mikael@lilotux.net>
date Thu, 22 Oct 2009 20:13:38 +0200
parents 546868650bbf
children e3afe1da8a5f
files mcabber/src/main.c
diffstat 1 files changed, 6 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/mcabber/src/main.c	Thu Oct 22 20:08:11 2009 +0200
+++ b/mcabber/src/main.c	Thu Oct 22 20:13:38 2009 +0200
@@ -383,18 +383,12 @@
   if (optstring)
     hk_ext_cmd_init(optstring);
 
-  if (settings_opt_get_int("hide_offline_buddies") > 0) { // XXX Deprecated
-    scr_RosterDisplay("ofdna");
-    scr_LogPrint(LPRINT_LOGNORM,
-                 "* Warning: 'hide_offline_buddies' is deprecated.");
-  } else {
-    optstring = settings_opt_get("roster_display_filter");
-    if (optstring)
-      scr_RosterDisplay(optstring);
-    // Empty filter isn't allowed...
-    if (!buddylist_get_filter())
-      scr_RosterDisplay("*");
-  }
+  optstring = settings_opt_get("roster_display_filter");
+  if (optstring)
+    scr_RosterDisplay(optstring);
+  // Empty filter isn't allowed...
+  if (!buddylist_get_filter())
+    scr_RosterDisplay("*");
 
   chatstates_disabled = settings_opt_get_int("disable_chatstates");