diff options
| author | Sven Moritz Hallberg <pesco@khjk.org> | 2010-07-11 19:21:21 +0200 | 
|---|---|---|
| committer | Sven Moritz Hallberg <pesco@khjk.org> | 2010-07-11 19:21:21 +0200 | 
| commit | eb6df6a280c458546ebc57126e63a828674b4cd8 (patch) | |
| tree | b8eead746fe97b7fb4bcf9a518c452ad87caed65 /protocols/jabber/iq.c | |
| parent | 37598495deeb42e1cd216a0a4ba8068e4a6da453 (diff) | |
| parent | 00540d40be63b4db537a661d1a17c49a1790f79c (diff) | |
merge with upstraem bitlbee 1.2.8
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 95b21e1e..68777b0b 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 ) );  		} @@ -104,7 +104,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 ++ ) | 
