Changeset a7dbf45


Ignore:
Timestamp:
2010-07-27T10:27:47Z (9 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
82ca986
Parents:
3fa5a8c
Message:

Block CTCPs to channels instead of sending them as plain messages. Maybe
some other day I'll find a reason for actually supporting them.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • irc_commands.c

    r3fa5a8c ra7dbf45  
    332332            ( ic = irc_channel_by_name( irc, cmd[1] ) ) )
    333333        {
    334                 if( ic->f->privmsg )
     334                if( cmd[2][0] == '\001' )
     335                {
     336                        /* CTCPs to channels? Nah. Maybe later. */
     337                }
     338                else if( ic->f->privmsg )
    335339                        ic->f->privmsg( ic, cmd[2] );
    336340        }
Note: See TracChangeset for help on using the changeset viewer.