comparison src/server.c @ 11257:90be432e8385

[gaim-migrate @ 13432] Removed warning from core. I think you should be able to see others' warning levels in the tooltip, but I haven't managed to warn myself from any client. Being able to warn others will be dependent on protocol-specific convo menus. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Sun, 14 Aug 2005 03:50:35 +0000
parents e4459e8ccfb5
children 17142948653e
comparison
equal deleted inserted replaced
11256:bb0d7b719af2 11257:90be432e8385
452 452
453 if (prpl_info && g_list_find(gaim_connections_get_all(), g) && prpl_info->set_idle) 453 if (prpl_info && g_list_find(gaim_connections_get_all(), g) && prpl_info->set_idle)
454 prpl_info->set_idle(g, time); 454 prpl_info->set_idle(g, time);
455 } 455 }
456 456
457 void serv_warn(GaimConnection *g, const char *name, gboolean anonymous)
458 {
459 GaimPluginProtocolInfo *prpl_info = NULL;
460
461 if (g != NULL && g->prpl != NULL)
462 prpl_info = GAIM_PLUGIN_PROTOCOL_INFO(g->prpl);
463
464 if (prpl_info && g_list_find(gaim_connections_get_all(), g) && prpl_info->warn)
465 prpl_info->warn(g, name, anonymous);
466 }
467 457
468 void serv_join_chat(GaimConnection *g, GHashTable *data) 458 void serv_join_chat(GaimConnection *g, GHashTable *data)
469 { 459 {
470 GaimPluginProtocolInfo *prpl_info = NULL; 460 GaimPluginProtocolInfo *prpl_info = NULL;
471 461