fix
This commit is contained in:
+1
-1
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
if (preg_match("/^".preg_quote(TAG, '/')."help$/", $text)) {
|
||||
if (preg_match("/^(".preg_quote(TAG, '/')."help)|(".preg_quote(TAG, '/').$plugin_name.preg_quote('@').BOT_NAME.")$/", $text)) {
|
||||
foreach ($load_plugins as $value) {
|
||||
$plugin_name = substr($value, strlen(PATH.'plugins'.DIRECTORY_SEPARATOR), -4);
|
||||
$lines=file($value);
|
||||
|
||||
Reference in New Issue
Block a user