1
0
mirror of https://github.com/danog/MadelineProto.git synced 2025-01-22 18:51:13 +01:00

Another small fix

This commit is contained in:
Daniil Gentili 2024-01-26 19:02:08 +01:00
parent 947375a263
commit 2f04e0a60f
2 changed files with 2 additions and 1 deletions

2
docs

@ -1 +1 @@
Subproject commit 3c3ad496453cd3bc693bebb88edcdaf3745df6f1
Subproject commit 8e0394e3b7a9cce62006800f13eee3f9eb3c7691

View File

@ -339,6 +339,7 @@ abstract class EventHandler extends AbstractAPI
if (isset(self::$pluginCache[$class])) {
return;
}
Magic::start(light: false);
$plugins = $class::getPlugins();
$plugins = array_values(array_unique($plugins, SORT_REGULAR));
$plugins = array_merge($plugins, self::internalGetDirectoryPlugins($class));