aboutsummaryrefslogtreecommitdiffstats
path: root/irc_user.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2010-07-03 21:38:53 +0100
committerWilmer van der Gaast <wilmer@gaast.net>2010-07-03 21:38:53 +0100
commit917a83ee526b8e5baaf451888cd0a3149894697b (patch)
tree76048b7b87168a69b84e631c745b0b6b8b8f8d3b /irc_user.c
parentbc4b4694d8ec852ac2e192b794bfcb7b62fbc3fc (diff)
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?
Diffstat (limited to 'irc_user.c')
-rw-r--r--irc_user.c2
1 files changed, 1 insertions, 1 deletions
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;
}