mirror of
https://we.phorge.it/source/phorge.git
synced 2025-02-02 09:58:24 +01:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue