comparison src/server.c @ 4316:c5851f0e120e

[gaim-migrate @ 4570] (19:17:32) faceprint: current gaim CVS writes it once per buddy at signon, and then once every time a buddy changes state (19:17:35) faceprint: patch takes do_export() out of handle_buddy_rename() and puts it in the appropriate places committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Wed, 15 Jan 2003 00:18:16 +0000
parents 5978e3d53f29
children cc2f780c0505
comparison
equal deleted inserted replaced
4315:6e36a04209c0 4316:c5851f0e120e
811 /* store things how THEY want it... */ 811 /* store things how THEY want it... */
812 if (strcmp(name, b->name)) { 812 if (strcmp(name, b->name)) {
813 char *who = g_strdup(b->name); 813 char *who = g_strdup(b->name);
814 g_snprintf(b->name, sizeof(b->name), "%s", name); 814 g_snprintf(b->name, sizeof(b->name), "%s", name);
815 handle_buddy_rename(b, who); 815 handle_buddy_rename(b, who);
816 do_export(b->gc);
816 g_free(who); 817 g_free(who);
817 } 818 }
818 819
819 if (!b->idle && idle) { 820 if (!b->idle && idle) {
820 plugin_event(event_buddy_idle, gc, b->name); 821 plugin_event(event_buddy_idle, gc, b->name);