aboutsummaryrefslogtreecommitdiffstats
path: root/irc_commands.c
diff options
context:
space:
mode:
Diffstat (limited to 'irc_commands.c')
-rw-r--r--irc_commands.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/irc_commands.c b/irc_commands.c
index 0bf20cfc..0fda9669 100644
--- a/irc_commands.c
+++ b/irc_commands.c
@@ -331,7 +331,11 @@ static void irc_cmd_privmsg( irc_t *irc, char **cmd )
if( irc_channel_name_ok( cmd[1] ) &&
( ic = irc_channel_by_name( irc, cmd[1] ) ) )
{
- if( ic->f->privmsg )
+ if( cmd[2][0] == '\001' )
+ {
+ /* CTCPs to channels? Nah. Maybe later. */
+ }
+ else if( ic->f->privmsg )
ic->f->privmsg( ic, cmd[2] );
}
else if( ( iu = irc_user_by_name( irc, cmd[1] ) ) )