too tired to desc

too tired to desc
This commit is contained in:
Denny Dai
2015-06-26 13:19:40 +08:00
parent 72a36e5164
commit 88c6a081dd
6 changed files with 11 additions and 16 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
<?php
PluginList("echo", "Echo what you typed.");
if (preg_match("/^".TAG."echo (.*)$/", $_GET['text'], $matches)) {
$BOT->exec("msg ".$from." ".$matches[1]);
$BOT->exec("msg ".$from." ".escapeString($matches[1]));
}