comparison src/server.c @ 9647:687572cf09a6

[gaim-migrate @ 10495] (13:40:54) datallah: LSchiere2: http://www.butfer.com/gaim-patches/1001419_bugfix.patch should fix (13:40:54) datallah: 1001419 (the server.c change is optional at this point, but i think that the check should be done there) committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Mon, 02 Aug 2004 17:50:53 +0000
parents c001be3c330e
children 4d05b6e9e9cd
comparison
equal deleted inserted replaced
9646:535343d6ca13 9647:687572cf09a6
1603 GaimPluginProtocolInfo *prpl_info = NULL; 1603 GaimPluginProtocolInfo *prpl_info = NULL;
1604 1604
1605 if (gc != NULL && gc->prpl != NULL) 1605 if (gc != NULL && gc->prpl != NULL)
1606 prpl_info = GAIM_PLUGIN_PROTOCOL_INFO(gc->prpl); 1606 prpl_info = GAIM_PLUGIN_PROTOCOL_INFO(gc->prpl);
1607 1607
1608 if (prpl_info && prpl_info->send_file) 1608 if (prpl_info && prpl_info->send_file) {
1609 prpl_info->send_file(gc, who, file); 1609 if (!prpl_info->can_receive_file || prpl_info->can_receive_file(gc, who)) {
1610 } 1610 prpl_info->send_file(gc, who, file);
1611 }
1612 }
1613 }