diff options
| author | cheapie <no-email-for-you@example.com> | 2015-08-26 01:05:59 -0400 | 
|---|---|---|
| committer | cheapie <no-email-for-you@example.com> | 2015-08-26 01:05:59 -0400 | 
| commit | 63f28d8cb0bdb176e23d9296255cf86c4f3430c2 (patch) | |
| tree | 4826e48910655065d63c89a991bca9b486f6000d | |
| parent | 181a5044a35f80436008f27c7827a1c3fd801459 (diff) | |
| download | sparkles-63f28d8cb0bdb176e23d9296255cf86c4f3430c2.tar sparkles-63f28d8cb0bdb176e23d9296255cf86c4f3430c2.tar.gz sparkles-63f28d8cb0bdb176e23d9296255cf86c4f3430c2.tar.bz2 sparkles-63f28d8cb0bdb176e23d9296255cf86c4f3430c2.tar.xz sparkles-63f28d8cb0bdb176e23d9296255cf86c4f3430c2.zip | |
pipe /me fix
I was using the wrong index when using /me with pipes so it was
including the "me" in the text incorrectly
| -rw-r--r-- | hexsparkles.c | 2 | ||||
| -rw-r--r-- | sparkles.c | 2 | 
2 files changed, 2 insertions, 2 deletions
| diff --git a/hexsparkles.c b/hexsparkles.c index 5e0d2e1..a6d1b0a 100644 --- a/hexsparkles.c +++ b/hexsparkles.c @@ -2027,7 +2027,7 @@ static int TrapActionPost_cb(char *word[], char *word_eol[], void *userdata) {        *A = 0;        CmdStackPtr=A+2;        char *OldPtr = CmdStackPtr; -      hexchat_commandf(ph, "%s %s", Buffer, word_eol[1]); +      hexchat_commandf(ph, "%s %s", Buffer, word_eol[2]);        if(OldPtr == CmdStackPtr) {          hexchat_printf(ph, "\"%s\" in cmdstack did not result in /say", Buffer);          CmdStackPtr = NULL; @@ -2027,7 +2027,7 @@ static int TrapActionPost_cb(char *word[], char *word_eol[], void *userdata) {        *A = 0;        CmdStackPtr=A+2;        char *OldPtr = CmdStackPtr; -      xchat_commandf(ph, "%s %s", Buffer, word_eol[1]); +      xchat_commandf(ph, "%s %s", Buffer, word_eol[2]);        if(OldPtr == CmdStackPtr) {          xchat_printf(ph, "\"%s\" in cmdstack did not result in /say", Buffer);          CmdStackPtr = NULL; | 
