。。
This commit is contained in:
+1
-1
@@ -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);
|
||||
|
||||
+1
-1
@@ -32,7 +32,7 @@ if(filter_var($var[0], FILTER_VALIDATE_IP)){
|
||||
$msg .= "\nBroadcast: ".$plugin_ipcalc_broadcast;
|
||||
$msg .= "\nHostMin: ".long2ip($plugin_ipcalc_first);
|
||||
$msg .= "\nHostMax: ".long2ip($plugin_ipcalc_last);
|
||||
$msg .= "\nHosts/Net: ".($plugin_ipcalc_hosts + 2);
|
||||
$msg .= "\nTotal num: ".($plugin_ipcalc_hosts + 3);
|
||||
|
||||
$BOT->msg($plugin_sendto, $msg);
|
||||
}else{
|
||||
|
||||
Reference in New Issue
Block a user