aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/jabber/jabber.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2006-09-25 12:10:14 +0200
committerWilmer van der Gaast <wilmer@gaast.net>2006-09-25 12:10:14 +0200
commitebe7b36af555d644357efbc0e63393927162bf06 (patch)
treef1fcf377ff52962ba904c102d617884d9c33b545 /protocols/jabber/jabber.c
parenteab2ac45071373751a3041c85b0ab69460109032 (diff)
Changing the resource string while online probably doesn't work.
Diffstat (limited to 'protocols/jabber/jabber.c')
-rw-r--r--protocols/jabber/jabber.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/protocols/jabber/jabber.c b/protocols/jabber/jabber.c
index 39a61bf3..7f679559 100644
--- a/protocols/jabber/jabber.c
+++ b/protocols/jabber/jabber.c
@@ -39,9 +39,10 @@ static void jabber_acc_init( account_t *acc )
s = set_add( &acc->set, "port", "5222", set_eval_int, acc );
s->flags |= ACC_SET_OFFLINE_ONLY;
- s = set_add( &acc->set, "priority", "0", set_eval_resprio, acc );
+ s = set_add( &acc->set, "priority", "0", set_eval_priority, acc );
- s = set_add( &acc->set, "resource", "BitlBee", set_eval_resprio, acc );
+ s = set_add( &acc->set, "resource", "BitlBee", NULL, acc );
+ s->flags |= ACC_SET_OFFLINE_ONLY;
s = set_add( &acc->set, "server", NULL, set_eval_account, acc );
s->flags |= ACC_SET_NOSAVE | ACC_SET_OFFLINE_ONLY;
@@ -233,6 +234,8 @@ static void jabber_rem_permit( struct gaim_connection *gc, char *who )
presence_send_request( gc, who, "unsubscribed" );
}
+/* XMPP doesn't have both a block- and and allow-list, so these two functions
+ will be no-ops: */
static void jabber_add_deny( struct gaim_connection *gc, char *who )
{
}