]> jfr.im git - irc/unrealircd/unrealircd-webpanel.git/blobdiff - Classes/class-rpc.php
Make ban durations work
[irc/unrealircd/unrealircd-webpanel.git] / Classes / class-rpc.php
index 3823db630a9e3ebeec911800cd2a0ee42479b5d1..cff23df04bf125e6e9bc48b73a9a5f80c7888516 100644 (file)
@@ -84,6 +84,9 @@ class RPC
                );
                curl_setopt($curl, CURLOPT_HTTPHEADER, $headers);
 
+               if (UNREALIRCD_DEBUG)
+                       do_log("SENDING JSON:", $this->content['body']);
+                       
                curl_setopt($curl, CURLOPT_POSTFIELDS, $this->content['body']);
 
                //for debug only!