if (UNREALIRCD_DEBUG)
do_log("SENDING JSON:", $this->content['body']);
-
+
curl_setopt($curl, CURLOPT_POSTFIELDS, $this->content['body']);
//for debug only!
else
{
$r = $result['result']['tkl'];
- Message::Success($r['name']." [type: ".$r['match_type']."] [targets: ".$r['spamfilter_targets']. "] [action: ".$r['ban_action']."] [reason: ".$r['reason']."] [set by: ".$r['set_by']."]");
+ Message::Success("Deleted spamfilter entry: ".$r['name']." [type: ".$r['match_type']."] [targets: ".$r['spamfilter_targets']. "] [action: ".$r['ban_action']."] [reason: ".$r['reason']."] [set by: ".$r['set_by']."]");
}
return true;
}
\ No newline at end of file
foreach ($value as $tok) {
$tok = explode(",", $tok);
rpc_sf_del(base64_decode($tok[0]), base64_decode($tok[1]), base64_decode($tok[2]), base64_decode($tok[3]));
- Message::Success(base64_decode($tok[1])." has been added for ".base64_decode($tok[0]));
}
}
}