frbot fix

This commit is contained in:
Daniil Gentili 2020-01-03 15:53:08 +00:00
parent becc68f41b
commit 69c1663194
2 changed files with 2 additions and 2 deletions

2
docs

@ -1 +1 @@
Subproject commit dfec70a8c5a6a6eca9e9d47e582141bc8a86aba8
Subproject commit 4ed3a8447cf21c69322bcdaf149eb3ce0befe8c0

View File

@ -99,7 +99,7 @@ class EventHandler extends \danog\MadelineProto\EventHandler
if (!$url) {
return;
}
if (\strpos($url, 'http') !== 0) {
if (\stripos($url, 'http') !== 0) {
$url = "http://$url";
}
}