diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2010-07-03 21:38:53 +0100 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2010-07-03 21:38:53 +0100 |
commit | 917a83ee526b8e5baaf451888cd0a3149894697b (patch) | |
tree | 76048b7b87168a69b84e631c745b0b6b8b8f8d3b /irc_user.c | |
parent | bc4b4694d8ec852ac2e192b794bfcb7b62fbc3fc (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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |