Changeset b0364dc for irc_channel.c


Ignore:
Timestamp:
2010-05-08T13:21:36Z (9 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
fd45e1d1
Parents:
9e27f18
Message:

Also allow addressing people inside the control channel using a comma.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • irc_channel.c

    r9e27f18 rb0364dc  
    211211       
    212212        /* Scan for non-whitespace chars followed by a colon: */
    213         for( s = msg; *s && !isspace( *s ) && *s != ':'; s ++ ) {}
    214        
    215         if( *s == ':' )
     213        for( s = msg; *s && !isspace( *s ) && *s != ':' && *s != ','; s ++ ) {}
     214       
     215        if( *s == ':' || *s == ',' )
    216216        {
    217217                char to[s-msg+1];
Note: See TracChangeset for help on using the changeset viewer.