aboutsummaryrefslogtreecommitdiffstats
path: root/irc_send.c
diff options
context:
space:
mode:
Diffstat (limited to 'irc_send.c')
-rw-r--r--irc_send.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/irc_send.c b/irc_send.c
index 72a90724..41214428 100644
--- a/irc_send.c
+++ b/irc_send.c
@@ -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;