From 917a83ee526b8e5baaf451888cd0a3149894697b Mon Sep 17 00:00:00 2001 From: Wilmer van der Gaast Date: Sat, 3 Jul 2010 21:38:53 +0100 Subject: Use irc_send_msg instead of irc_send_msg_raw() to echo messages to self, to make sure CTCP ACTIONs work. Not important, just more correct. Other CTCPs sent to oneself are dropped, but why CTCP yourself anyway? --- irc_user.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/irc_user.c b/irc_user.c index 2706eb67..98145ae1 100644 --- a/irc_user.c +++ b/irc_user.c @@ -242,7 +242,7 @@ const struct irc_user_funcs irc_user_root_funcs = { /* Echo to yourself: */ static gboolean self_privmsg( irc_user_t *iu, const char *msg ) { - irc_send_msg_raw( iu, "PRIVMSG", iu->nick, msg ); + irc_send_msg( iu, "PRIVMSG", iu->nick, msg, NULL ); return TRUE; } -- cgit v1.2.3