diff --git a/CleanTalk/Base/CleanTalk.php b/CleanTalk/Base/CleanTalk.php
index 252f8be..26f71b2 100644
--- a/CleanTalk/Base/CleanTalk.php
+++ b/CleanTalk/Base/CleanTalk.php
@@ -31,6 +31,7 @@ static public function getCheckjsValue() {
public static function getTemplateAddon() {
static $show_flag = TRUE;
$ret_val = '';
+ $options = XenForo_Application::getOptions();
if ($show_flag) {
$show_flag = FALSE;
@@ -44,7 +45,10 @@ function ctSetCookie(c_name, value) {
ctSetCookie("%s", "%s");
';
$ret_val = sprintf($js_template, $field_name, $ct_check_value);
- $ret_val.="
";
+ if($options->get('cleantalk', 'link'))
+ {
+ $ret_val.="";
+ }
}
return $ret_val;
}
diff --git a/CleanTalk/Model/CleanTalk.php b/CleanTalk/Model/CleanTalk.php
index 049dee1..8394f7d 100644
--- a/CleanTalk/Model/CleanTalk.php
+++ b/CleanTalk/Model/CleanTalk.php
@@ -114,7 +114,7 @@ protected function _checkSpam($spam_check, $options) {
$ct_request = new CleantalkRequest();
$ct_request->auth_key = $ct_authkey;
- $ct_request->agent = 'xenforo-143';
+ $ct_request->agent = 'xenforo-144';
$ct_request->response_lang = 'en';
$ct_request->js_on = $checkjs;
$ct_request->sender_info = $sender_info;
diff --git a/CleanTalk/addon-CleanTalk.xml b/CleanTalk/addon-CleanTalk.xml
index f5a6798..7afb423 100644
--- a/CleanTalk/addon-CleanTalk.xml
+++ b/CleanTalk/addon-CleanTalk.xml
@@ -1,5 +1,5 @@
-
+
diff --git a/addon-CleanTalk.xml b/addon-CleanTalk.xml
index f5a6798..7afb423 100644
--- a/addon-CleanTalk.xml
+++ b/addon-CleanTalk.xml
@@ -1,5 +1,5 @@
-
+