From a0eb7da499b71fe532104e16395017a8bf75798b Mon Sep 17 00:00:00 2001 From: rswindell <> Date: Tue, 9 Sep 2003 11:41:13 +0000 Subject: [PATCH] Fixed bug in Cyan's mod to /EVAL command. --- exec/ircd.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exec/ircd.js b/exec/ircd.js index 918adb288c..9c6577d03b 100644 --- a/exec/ircd.js +++ b/exec/ircd.js @@ -2429,7 +2429,7 @@ function IRCClient_registered_commands(command, cmdline) { } break; case "EVAL": /* Evaluate a JavaScript expression */ - if (!((this.mode&USERMODE_OPER) + if (!((this.mode&USERMODE_OPER) && (this.operflags&OLINE_CAN_DEBUG))) { this.numeric481(); break; -- GitLab