diff options
| author | Wilmer van der Gaast <wilmer@gaast.net> | 2010-06-24 10:14:34 +0100 | 
|---|---|---|
| committer | Wilmer van der Gaast <wilmer@gaast.net> | 2010-06-24 10:14:34 +0100 | 
| commit | 8b8def5854857248f66b6a2580ce2e5a8f5597c8 (patch) | |
| tree | 36d6328e966fed589f46076936fc50ff8063ed50 /protocols/jabber/iq.c | |
| parent | 7cd2e8a6c0ba091f56e6ee8bc087c799faee3662 (diff) | |
| parent | 38ff846b14f1d1f80983a0818b9bcf60581a2a34 (diff) | |
Merging a few revisions from mainline.
Diffstat (limited to 'protocols/jabber/iq.c')
| -rw-r--r-- | protocols/jabber/iq.c | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/protocols/jabber/iq.c b/protocols/jabber/iq.c index 2930e75f..82c90d39 100644 --- a/protocols/jabber/iq.c +++ b/protocols/jabber/iq.c @@ -64,7 +64,7 @@ xt_status jabber_pkt_iq( struct xt_node *node, gpointer data )  		/* Of course this is a very essential query to support. ;-) */  		if( strcmp( s, XMLNS_VERSION ) == 0 )  		{ -			xt_add_child( reply, xt_new_node( "name", "BitlBee", NULL ) ); +			xt_add_child( reply, xt_new_node( "name", set_getstr( &ic->acc->set, "user_agent" ), NULL ) );  			xt_add_child( reply, xt_new_node( "version", BITLBEE_VERSION, NULL ) );  			xt_add_child( reply, xt_new_node( "os", ARCH, NULL ) );  		} @@ -107,7 +107,7 @@ xt_status jabber_pkt_iq( struct xt_node *node, gpointer data )  			c = xt_new_node( "identity", NULL, NULL );  			xt_add_attr( c, "category", "client" );  			xt_add_attr( c, "type", "pc" ); -			xt_add_attr( c, "name", "BitlBee" ); +			xt_add_attr( c, "name", set_getstr( &ic->acc->set, "user_agent" ) );  			xt_add_child( reply, c );  			for( f = features; *f; f ++ ) | 
