libpurple/protocols/irc/cmds.c

branch
soc.2013.gobjectification
changeset 34627
08733a7475df
parent 34625
03d62b1660fc
child 34629
3c3bed0fd13c
equal deleted inserted replaced
34626:b8b3186aff95 34627:08733a7475df
450 PurpleConnection *gc; 450 PurpleConnection *gc;
451 451
452 if (!args || !args[0]) 452 if (!args || !args[0])
453 return 0; 453 return 0;
454 454
455 convo = purple_conversation_new(PURPLE_CONV_TYPE_IM, irc->account, args[0]); 455 convo = purple_im_conversation_new(irc->account, args[0]);
456 purple_conversation_present(convo); 456 purple_conversation_present(convo);
457 457
458 if (args[1]) { 458 if (args[1]) {
459 gc = purple_account_get_connection(irc->account); 459 gc = purple_account_get_connection(irc->account);
460 irc_cmd_privmsg(irc, cmd, target, args); 460 irc_cmd_privmsg(irc, cmd, target, args);

mercurial