comparison src/server.c @ 2289:38e156136896

[gaim-migrate @ 2299] some irc fixes committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Mon, 17 Sep 2001 05:00:56 +0000
parents 0b5c3338fa3d
children 878503b60006
comparison
equal deleted inserted replaced
2288:b41c88001ab5 2289:38e156136896
313 { 313 {
314 if (g->prpl && g->prpl->chat_whisper) 314 if (g->prpl && g->prpl->chat_whisper)
315 (*g->prpl->chat_whisper)(g, id, who, message); 315 (*g->prpl->chat_whisper)(g, id, who, message);
316 } 316 }
317 317
318 void serv_chat_set_topic(struct gaim_connection *g, int id, char *topic)
319 {
320 if (g->prpl && g->prpl->chat_set_topic)
321 (*g->prpl->chat_set_topic)(g, id, topic);
322 }
323
324 int serv_chat_send(struct gaim_connection *g, int id, char *message) 318 int serv_chat_send(struct gaim_connection *g, int id, char *message)
325 { 319 {
326 int val = -EINVAL; 320 int val = -EINVAL;
327 if (g->prpl && g->prpl->chat_send) 321 if (g->prpl && g->prpl->chat_send)
328 val = (*g->prpl->chat_send)(g, id, message); 322 val = (*g->prpl->chat_send)(g, id, message);