From 2d8b2c4ede2deff96e529ac9430de3ca6049f059 Mon Sep 17 00:00:00 2001 From: Randy Sommerfeld <cyan@synchro.net> Date: Wed, 16 Jun 2021 14:24:55 +0700 Subject: [PATCH] We don't use command anymore, fixes crash on /OPER. Found by nelgin, thanks! --- exec/load/ircd/user.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exec/load/ircd/user.js b/exec/load/ircd/user.js index 659fea0ab6..557278017b 100644 --- a/exec/load/ircd/user.js +++ b/exec/load/ircd/user.js @@ -1023,7 +1023,7 @@ function User_Work(cmdline) { break; case "OPER": if (!p[1]) { - this.numeric461(command); + this.numeric461("OPER"); break; } if (this.mode&USERMODE_OPER) { -- GitLab