Changeset 842 for branches/ithildin-1.1


Ignore:
Timestamp:
05/11/09 05:14:48 (3 years ago)
Author:
wd
Message:

Aaaaaand send a notice instead to avoid confusing clients.

File:
1 edited

Legend:

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

    r841 r842  
    8282    if (find_client(argv[2]) != NULL) { 
    8383        /* XXX: Don't hardcode this. */ 
    84         sendto_one(cli, RPL_FMT(cli, 433), argv[1]); 
     84        sendto_one(cli, "NOTICE", ":NPC nickname %s is in use by a different user.", 
     85                   argv[2]); 
    8586        return COMMAND_WEIGHT_LOW; 
    8687    } else if (strlen(argv[2]) > NICKLEN - 2) { 
Note: See TracChangeset for help on using the changeset viewer.