Merge pull request #185 from KorvinSzanto/master

Added novelty Where in the world is Symbol? match to IRCbot.
This commit is contained in:
Evan Priestley
2012-08-16 17:46:33 -07:00

View File

@@ -229,7 +229,7 @@ final class PhabricatorIRCObjectNameHandler extends PhabricatorIRCHandler {
$text = $message->getMessageText();
$matches = null;
if (!preg_match('/where is (\S+?)\?/i', $text, $matches)) {
if (!preg_match('/where(?: in the world) is (\S+?)\?/i', $text, $matches)) {
return;
}