Merge pull request #190 from KorvinSzanto/master
Fix "where is symbol" ircbot handler
This commit is contained in:
@@ -229,7 +229,8 @@ final class PhabricatorIRCObjectNameHandler extends PhabricatorIRCHandler {
|
|||||||
$text = $message->getMessageText();
|
$text = $message->getMessageText();
|
||||||
|
|
||||||
$matches = null;
|
$matches = null;
|
||||||
if (!preg_match('/where(?: in the world) 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