2225 |
pos = strchr (host, '!'); |
pos = strchr (host, '!'); |
2226 |
irc_display_prefix (server, ptr_channel->buffer, PREFIX_QUIT); |
irc_display_prefix (server, ptr_channel->buffer, PREFIX_QUIT); |
2227 |
gui_printf (ptr_channel->buffer, |
gui_printf (ptr_channel->buffer, |
2228 |
_("%s%s %s(%s%s%s)%s has quit %s(%s%s%s)\n"), |
_("%s%s %s(%s%s%s)%s has quit"), |
2229 |
GUI_COLOR(COLOR_WIN_CHAT_NICK), |
GUI_COLOR(COLOR_WIN_CHAT_NICK), |
2230 |
nick, |
nick, |
2231 |
GUI_COLOR(COLOR_WIN_CHAT_DARK), |
GUI_COLOR(COLOR_WIN_CHAT_DARK), |
2232 |
GUI_COLOR(COLOR_WIN_CHAT_HOST), |
GUI_COLOR(COLOR_WIN_CHAT_HOST), |
2233 |
(pos) ? pos + 1 : "", |
(pos) ? pos + 1 : "", |
2234 |
GUI_COLOR(COLOR_WIN_CHAT_DARK), |
GUI_COLOR(COLOR_WIN_CHAT_DARK), |
2235 |
GUI_COLOR(COLOR_WIN_CHAT), |
GUI_COLOR(COLOR_WIN_CHAT)); |
2236 |
|
gui_printf (ptr_channel->buffer, |
2237 |
|
" %s(%s%s%s)\n", |
2238 |
GUI_COLOR(COLOR_WIN_CHAT_DARK), |
GUI_COLOR(COLOR_WIN_CHAT_DARK), |
2239 |
GUI_COLOR(COLOR_WIN_CHAT), |
GUI_COLOR(COLOR_WIN_CHAT), |
2240 |
arguments, |
arguments, |
2449 |
/* execute command once connected */ |
/* execute command once connected */ |
2450 |
if (server->command && server->command[0]) |
if (server->command && server->command[0]) |
2451 |
{ |
{ |
2452 |
user_command(server, NULL, server->command); |
user_command(NULL, server, server->command); |
2453 |
if (server->command_delay > 0) |
if (server->command_delay > 0) |
2454 |
sleep (server->command_delay); |
sleep (server->command_delay); |
2455 |
} |
} |