libpurple/protocols/irc/cmds.c

branch
release-2.x.y
changeset 41335
c49dcf00bee6
parent 38259
c593fc9f5438
equal deleted inserted replaced
41334:b6896c389190 41335:c49dcf00bee6
388 388
389 if (args[1]) 389 if (args[1])
390 buf = irc_format(irc, "vc:", "PART", args[0] ? args[0] : target, args[1]); 390 buf = irc_format(irc, "vc:", "PART", args[0] ? args[0] : target, args[1]);
391 else 391 else
392 buf = irc_format(irc, "vc", "PART", args[0] ? args[0] : target); 392 buf = irc_format(irc, "vc", "PART", args[0] ? args[0] : target);
393 irc_send(irc, buf); 393 irc_priority_send(irc, buf);
394 g_free(buf); 394 g_free(buf);
395 395
396 return 0; 396 return 0;
397 } 397 }
398 398
477 * Use purple_account_get_string(irc->account, "quitmsg", IRC_DEFAULT_QUIT) 477 * Use purple_account_get_string(irc->account, "quitmsg", IRC_DEFAULT_QUIT)
478 * and uncomment the appropriate account preference in irc.c if we 478 * and uncomment the appropriate account preference in irc.c if we
479 * decide we want custom quit messages. 479 * decide we want custom quit messages.
480 */ 480 */
481 buf = irc_format(irc, "v:", "QUIT", (args && args[0]) ? args[0] : IRC_DEFAULT_QUIT); 481 buf = irc_format(irc, "v:", "QUIT", (args && args[0]) ? args[0] : IRC_DEFAULT_QUIT);
482 irc_send(irc, buf); 482 irc_priority_send(irc, buf);
483 g_free(buf); 483 g_free(buf);
484 484
485 irc->quitting = TRUE; 485 irc->quitting = TRUE;
486 486
487 if (!irc->account->disconnecting) 487 if (!irc->account->disconnecting)

mercurial