This commit is contained in:
Denny Dai
2015-07-08 16:13:12 +08:00
parent 725fc82dc0
commit 397031ec56
8 changed files with 22 additions and 6 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
<?php
foreach ($TAGs as $TAG) {
if (preg_match("/^(".preg_quote($TAG, '/')."help)|(".preg_quote($TAG, '/').$plugin_name.preg_quote('@').BOT_NAME.")$/", $text)) {
if (preg_match("/^(".preg_quote($TAG, '/')."help)|(".preg_quote($TAG, '/')."help".preg_quote('@').BOT_NAME.")$/", $text)) {
foreach ($load_plugins as $value) {
$plugin_name = substr($value, strlen(PATH.'plugins'.DIRECTORY_SEPARATOR), -4);
$lines=file($value);