Merge pull request #185 from KorvinSzanto/master
Added novelty Where in the world is Symbol? match to IRCbot.
This commit is contained in:
@@ -229,7 +229,7 @@ final class PhabricatorIRCObjectNameHandler extends PhabricatorIRCHandler {
|
|||||||
$text = $message->getMessageText();
|
$text = $message->getMessageText();
|
||||||
|
|
||||||
$matches = null;
|
$matches = null;
|
||||||
if (!preg_match('/where is (\S+?)\?/i', $text, $matches)) {
|
if (!preg_match('/where(?: in the world) is (\S+?)\?/i', $text, $matches)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user