Skip to content

Commit

Permalink
Fix typo (GH#7421)
Browse files Browse the repository at this point in the history
  • Loading branch information
numberZero authored and sfan5 committed Jun 10, 2018
1 parent 2c0d8b2 commit 90acb9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builtin/game/register.lua
Expand Up @@ -445,7 +445,7 @@ end
function core.run_priv_callbacks(name, priv, caller, method)
local def = core.registered_privileges[priv]
if not def or not def["on_" .. method] or
not def[priv]["on_" .. method](name, caller) then
not def["on_" .. method](name, caller) then
for _, func in ipairs(core["registered_on_priv_" .. method]) do
if not func(name, caller, priv) then
break
Expand Down

0 comments on commit 90acb9b

Please sign in to comment.