Ignore:
Timestamp:
11/07/08 03:28:26 (4 years ago)
Author:
wd
Message:

Fix various dumbnesses in the DNS code and the way the ircd module uses it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ithildin-1.1/modules/ircd/client.c

    r777 r822  
    266266 
    267267    first[0] = *nick; 
    268     if (!istr_okay(ircd.maps.nick_first, first) || 
    269             !istr_okay(ircd.maps.nick, nick)) 
     268    if (*nick == '\0' || !istr_okay(ircd.maps.nick_first, first) || 
     269        !istr_okay(ircd.maps.nick, nick)) 
    270270        return 0; 
    271271    return 1; 
Note: See TracChangeset for help on using the changeset viewer.