diff --git a/plugins/roledefaults/init.lua b/plugins/roledefaults/init.lua index 1c2e72c..cdf3d67 100644 --- a/plugins/roledefaults/init.lua +++ b/plugins/roledefaults/init.lua @@ -2,7 +2,7 @@ local plugin_class = import("classes.plugin") local command = import("classes.command") local plugin = plugin_class("roledefaults") config.default_roles = config.default_roles or {} -client:on("memeberJoin",function(member) +client:on("memberJoin",function(member) for k,v in pairs(config.default_roles) do member:addRole(v) end