diff options
Diffstat (limited to 'irc_send.c')
-rw-r--r-- | irc_send.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -152,6 +152,11 @@ void irc_send_part( irc_channel_t *ic, irc_user_t *iu, const char *reason ) irc_write( ic->irc, ":%s!%s@%s PART %s :%s", iu->nick, iu->user, iu->host, ic->name, reason ? : "" ); } +void irc_send_quit( irc_user_t *iu, const char *reason ) +{ + irc_write( iu->irc, ":%s!%s@%s QUIT :%s", iu->nick, iu->user, iu->host, reason ? : "" ); +} + void irc_send_names( irc_channel_t *ic ) { GSList *l; |