diff --git a/plugins/administration.lua b/plugins/administration.lua index 6e62000..b89e4ca 100644 --- a/plugins/administration.lua +++ b/plugins/administration.lua @@ -64,7 +64,7 @@ local get_rank = function(target, chat) return 4 end - if chat then + if chat and admindata[chat] then if admindata[chat].govs[target] then return 3 elseif admindata[chat].mods[target] then