comparison mcabber/mcabber/modules.c @ 1770:d3168cd64d59

Add API version to module description
author Myhailo Danylenko <isbear@ukrpost.net>
date Sat, 13 Mar 2010 22:25:20 +0200
parents 5b497046df40
children ffd0f245de40
comparison
equal deleted inserted replaced
1769:fccc46cb4345 1770:d3168cd64d59
372 372
373 if (info) { 373 if (info) {
374 374
375 if (info->version) 375 if (info->version)
376 scr_LogPrint(LPRINT_NORMAL, "Version: %s", info->version); 376 scr_LogPrint(LPRINT_NORMAL, "Version: %s", info->version);
377 scr_LogPrint(LPRINT_NORMAL, "API: %s:%u", info->branch, info->api);
377 378
378 if (info->requires && *(info->requires)) { 379 if (info->requires && *(info->requires)) {
379 GString *message = g_string_new("Depends on: "); 380 GString *message = g_string_new("Depends on: ");
380 const gchar **dep; 381 const gchar **dep;
381 for (dep = info->requires; *dep; ++dep) { 382 for (dep = info->requires; *dep; ++dep) {