Changeset dca8eff


Ignore:
Timestamp:
2010-05-22T01:05:58Z (15 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
05a8932
Parents:
e77c264
Message:

Return ui_info so jabber:iq:version responses will not say just libpurple.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/purple/purple.c

    re77c264 rdca8eff  
    472472static void purple_ui_init();
    473473
     474GHashTable *prplcb_ui_info()
     475{
     476        static GHashTable *ret;
     477       
     478        if( ret == NULL )
     479        {
     480                ret = g_hash_table_new(g_str_hash, g_str_equal);
     481                g_hash_table_insert( ret, "name", "BitlBee" );
     482                g_hash_table_insert( ret, "version", BITLBEE_VERSION );
     483        }
     484       
     485        return ret;
     486}
     487
    474488static PurpleCoreUiOps bee_core_uiops =
    475489{
     
    478492        purple_ui_init,
    479493        NULL,
     494        prplcb_ui_info,
    480495};
    481496
Note: See TracChangeset for help on using the changeset viewer.