summaryrefslogtreecommitdiffstats
path: root/includes/comments.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/comments.php')
-rw-r--r--includes/comments.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/comments.php b/includes/comments.php
index b414021..78b6357 100644
--- a/includes/comments.php
+++ b/includes/comments.php
@@ -109,4 +109,4 @@ echo $commentClass;
</div>
</div>
<?php //兼容 typecho 反垃圾
- if ($this->options->commentsAntiSpam) { Comments::AntiSpam($this); } ?> \ No newline at end of file
+ if ($this->options->commentsAntiSpam) { Comments::AntiSpam($this->respondId, Typecho_Common::shuffleScriptVar($this->security->getToken(preg_replace('/\??&?_pjax=[^&]+/i','',$this->request->getRequestUrl())))); } ?> \ No newline at end of file