mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-23 07:12:41 +01:00
Merge pull request #190 from KorvinSzanto/master
Fix "where is symbol" ircbot handler
This commit is contained in:
commit
1d72cde41f
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue