PennMUSH Community

Ticket #7539: emit-twoslash.patch.txt

File emit-twoslash.patch.txt, 314 bytes (added by Talvo, 9 months ago)

A little patch to allow \\emit to work the same as \emit

Line 
1 *** src/command.c.orig  Fri Oct  5 23:36:32 2007
2 --- src/command.c   Fri Jan 25 17:47:57 2008
3 ***************
4 *** 931,936 ****
5 --- 931,938 ----
6       break;
7     case EMIT_TOKEN:
8       replacer = "@EMIT";
9 +     if (*(p + 1) && *(p + 1) == '\\')
10 +       p++;
11       break;
12     case CHAT_TOKEN:
13   #ifdef CHAT_TOKEN_ALIAS