Merge pull request #185 from KorvinSzanto/master
Added novelty Where in the world is Symbol? match to IRCbot.
This commit is contained in:
commit
c839dc29a6
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue