--- a/mcabber/src/roster.c Mon Apr 25 20:34:59 2005 +0000
+++ b/mcabber/src/roster.c Mon Apr 25 20:56:23 2005 +0000
@@ -273,9 +273,9 @@
/* ### BuddyList functions ### */
-// buddylist_hide_offline_buddies(hide)
+// buddylist_set_hide_offline_buddies(hide)
// "hide" values: 1=hide 0=show_all -1=invert
-void buddylist_hide_offline_buddies(int hide)
+void buddylist_set_hide_offline_buddies(int hide)
{
if (hide < 0) // NEG (invert)
hide_offline_buddies = !hide_offline_buddies;
@@ -285,6 +285,11 @@
hide_offline_buddies = 1;
}
+inline int buddylist_get_hide_offline_buddies(void)
+{
+ return hide_offline_buddies;
+}
+
// buddylist_build()
// Creates the buddylist from the roster entries.
void buddylist_build(void)