diff options
author | Joseph Graham <joseph.graham@gmx.com> | 2016-09-29 22:34:01 +0100 |
---|---|---|
committer | Joseph Graham <joseph.graham@gmx.com> | 2016-09-29 22:34:01 +0100 |
commit | 4cd9d79557331074d4d469679b21266a9cf81039 (patch) | |
tree | 0e9904ac931ae423087e24f7a2768717fbebec5f | |
parent | cee618e91b77bc67b1ce34eeb87ae79812bd1cb1 (diff) |
Fixed extremely specific bug
Fixed bug where Emulatorman puts two spaces in-between ${username}: and
${message}, instead of one, and pbot doesn't recognise the command. N.B. the
code here is still aweful because he won't handle other cases such as, for
example; the user puts no space at all. And the other commands still have this
bug.
-rw-r--r-- | hack_of_all_hacks | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hack_of_all_hacks b/hack_of_all_hacks index 7b55b63..547b64c 100644 --- a/hack_of_all_hacks +++ b/hack_of_all_hacks @@ -287,7 +287,7 @@ function l33t_codes # tell # ######## - "${my_own_name}: tell "+([![:space:]])": "+([![:space:]])* ) + "${my_own_name}: tell "+([![:space:]])":"+([[:space:]])+([![:space:]])* ) # The line will be something such as: # pbot: tell fauno: you suck process="${sentence##${my_own_name}: tell }" |