Skip to content

Commit 18c1d65

Browse files
committed
1 parent fbc9131 commit 18c1d65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/irc/scripts/irccommands.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ function outputCommands (server,channel,user,command)
409409
for i,cmd in ipairs (ircGetCommands()) do
410410
if ircIsCommandEchoChannelOnly(cmd) then
411411
if ircIsEchoChannel(channel) then
412-
if ircGetCommandLevel(cmd) <= ircGetUserLevel(user,channel) then
412+
if (tonumber(ircGetCommandLevel(cmd) or 6)) <= (tonumber(ircGetUserLevel(user,channel)) or 0) then
413413
table.insert(cmds,cmd)
414414
end
415415
end

0 commit comments

Comments
 (0)