tlef/restful-frotz — pull request #2 by namanyayg (2014-04-11 17:18:34+00:00)
Title: Fail if trigger in mid sentence

A short trigger word like 'z' (which we have at MUO's slack) may be used elsewhere in the sentence (Example, in the 'maze' parts of the game). Fixing code where it stripped out all occurrences of trigger word incorrectly.

Forgive any mistakes in the code, am not a PHP dev.