libpurple/protocols/irc/irc.c

changeset 38854
086e15ec656d
parent 38827
3573c82d32d8
child 38929
159404505264
equal deleted inserted replaced
38849:20c80c3c31c5 38854:086e15ec656d
685 685
686 if (!convo) { 686 if (!convo) {
687 purple_debug(PURPLE_DEBUG_ERROR, "irc", "chat send on nonexistent chat\n"); 687 purple_debug(PURPLE_DEBUG_ERROR, "irc", "chat send on nonexistent chat\n");
688 return -EINVAL; 688 return -EINVAL;
689 } 689 }
690 #if 0
691 if (*what == '/') {
692 return irc_parse_cmd(irc, convo->name, what + 1);
693 }
694 #endif
695 purple_markup_html_to_xhtml(purple_message_get_contents(msg), NULL, &tmp); 690 purple_markup_html_to_xhtml(purple_message_get_contents(msg), NULL, &tmp);
696 args[0] = purple_conversation_get_name(convo); 691 args[0] = purple_conversation_get_name(convo);
697 args[1] = tmp; 692 args[1] = tmp;
698 693
699 irc_cmd_privmsg(irc, "msg", NULL, args); 694 irc_cmd_privmsg(irc, "msg", NULL, args);

mercurial