Changeset 845 for branches


Ignore:
Timestamp:
06/02/09 19:59:14 (3 years ago)
Author:
wd
Message:

Only allow valid nicks for NPC names.

File:
1 edited

Legend:

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

    r844 r845  
    8989        return COMMAND_WEIGHT_LOW; 
    9090    } else { 
    91         if (can_can_nick_client(cli, argv[2]) >= 0) { 
     91        if (can_can_nick_client(cli, argv[2]) >= 0 || !check_nickname(argv[2])) { 
    9292            sendto_one(cli, "NOTICE", ":NPC name %s is not available for use.", 
    9393                       argv[2]); 
Note: See TracChangeset for help on using the changeset viewer.