]> jfr.im git - irc/unrealircd/unrealircd-webpanel.git/blobdiff - Classes/class-log.php
Add the start of channel details
[irc/unrealircd/unrealircd-webpanel.git] / Classes / class-log.php
index 01d7646e2389e69d67595851a2a5dc7afb8a6038..1fd7dd0088dc284529b09d816fda2626366b2ecf 100644 (file)
@@ -23,7 +23,7 @@ class Log
        {
                foreach($string as $str)
                {
-                       if (UNREALIRCD_DEBUG) {
+                       if (defined('UNREALIRCD_DEBUG') && UNREALIRCD_DEBUG) {
                                highlight_string(var_export($str, true));
                        }
                }