1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-22 23:02:42 +01:00

Merge pull request #190 from KorvinSzanto/master

Fix "where is symbol" ircbot handler
This commit is contained in:
Evan Priestley 2012-08-25 17:06:37 -07:00
commit 1d72cde41f

View file

@ -229,7 +229,8 @@ final class PhabricatorIRCObjectNameHandler extends PhabricatorIRCHandler {
$text = $message->getMessageText();
$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;
}