aboutsummaryrefslogtreecommitdiffstats
path: root/irc_send.c
diff options
context:
space:
mode:
Diffstat (limited to 'irc_send.c')
-rw-r--r--irc_send.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/irc_send.c b/irc_send.c
index bbf84bd2..89b10020 100644
--- a/irc_send.c
+++ b/irc_send.c
@@ -310,3 +310,9 @@ void irc_send_msg_raw( irc_user_t *iu, const char *type, const char *dst, const
irc_write( iu->irc, ":%s!%s@%s %s %s :%s",
iu->nick, iu->user, iu->host, type, dst, msg );
}
+
+void irc_send_nick( irc_user_t *iu, const char *new )
+{
+ irc_write( iu->irc, ":%s!%s@%s NICK %s",
+ iu->nick, iu->user, iu->host, new );
+}