Changeset a670aeb for irc_channel.c


Ignore:
Timestamp:
2010-06-28T09:37:01Z (14 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
58646d9
Parents:
ab6006c
Message:

An empty string is not a valid channel name.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • irc_channel.c

    rab6006c ra670aeb  
    310310        const unsigned char *name = (unsigned char*) name_;
    311311        int i;
     312       
     313        if( name_[0] == '\0' )
     314                return FALSE;
    312315       
    313316        /* Check if the first character is in CTYPES (#&) */
Note: See TracChangeset for help on using the changeset viewer.