Mercurial > pidgin
comparison src/protocols/irc/cmds.c @ 13876:1a862fb5e713
[gaim-migrate @ 16351]
Focus newly created IRC tabs created with /join and /query
committer: Tailor Script <tailor@pidgin.im>
author | Ethan Blanton <elb@pidgin.im> |
---|---|
date | Mon, 26 Jun 2006 17:52:26 +0000 |
parents | 1a095ac881ce |
children | 5d5e249c488e |
comparison
equal
deleted
inserted
replaced
13875:eb20e674ccf2 | 13876:1a862fb5e713 |
---|---|
400 | 400 |
401 if (!args || !args[0]) | 401 if (!args || !args[0]) |
402 return 0; | 402 return 0; |
403 | 403 |
404 convo = gaim_conversation_new(GAIM_CONV_TYPE_IM, irc->account, args[0]); | 404 convo = gaim_conversation_new(GAIM_CONV_TYPE_IM, irc->account, args[0]); |
405 gaim_conversation_present(convo); | |
405 | 406 |
406 if (args[1]) { | 407 if (args[1]) { |
407 gc = gaim_account_get_connection(irc->account); | 408 gc = gaim_account_get_connection(irc->account); |
408 irc_cmd_privmsg(irc, cmd, target, args); | 409 irc_cmd_privmsg(irc, cmd, target, args); |
409 gaim_conv_im_write(GAIM_CONV_IM(convo), gaim_connection_get_display_name(gc), | 410 gaim_conv_im_write(GAIM_CONV_IM(convo), gaim_connection_get_display_name(gc), |