Changeset 834 for branches/ithildin-1.1


Ignore:
Timestamp:
05/11/09 01:31:13 (3 years ago)
Author:
wd
Message:

Action plus space. Duh.

File:
1 edited

Legend:

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

    r833 r834  
    8989        message_space -= strlen(cli->nick); 
    9090        if (action) 
    91             message_space -= 8; /* "\001ACTION\001" */ 
     91            message_space -= 9; /* "\001ACTION \001" */ 
    9292         
    9393        message_length = strlen(argv[3]); 
     
    101101     
    102102    sendto_channel_local(chan, &fake_client, NULL, "PRIVMSG", ":%s%s (%s)%s", 
    103                          (action ? "\001ACTION" : ""), 
     103                         (action ? "\001ACTION " : ""), 
    104104                         argv[3], cli->nick, (action ? "\001" : "")); 
    105105    /* XXX: need to switch to sendto_channel_remote at some point! */ 
Note: See TracChangeset for help on using the changeset viewer.