src/protocols/irc/cmds.c

changeset 13839
e27a7f02055c
parent 12669
c15115dcfc23
child 13938
dbafabe02e9e
equal deleted inserted replaced
13838:171a6a664fdf 13839:e27a7f02055c
370 buf = irc_format(irc, "v:", "QUIT", (args && args[0]) ? args[0] : IRC_DEFAULT_QUIT); 370 buf = irc_format(irc, "v:", "QUIT", (args && args[0]) ? args[0] : IRC_DEFAULT_QUIT);
371 irc_send(irc, buf); 371 irc_send(irc, buf);
372 g_free(buf); 372 g_free(buf);
373 373
374 irc->quitting = TRUE; 374 irc->quitting = TRUE;
375
376 gaim_account_set_status(irc->account, "offline", TRUE, NULL);
375 } 377 }
376 378
377 return 0; 379 return 0;
378 } 380 }
379 381

mercurial