diff --git a/source/Command.cpp b/source/Command.cpp index 474b0f41..a4d79a00 100644 --- a/source/Command.cpp +++ b/source/Command.cpp @@ -1027,7 +1027,7 @@ void Register(HSQUIRRELVM vm) .Prop(_SC("Count"), &Manager::GetCount) .Prop(_SC("IsContext"), &Manager::IsContext) .Prop(_SC("OnFail"), &Manager::GetOnFail) - .Prop(_SC("OnFail"), &Manager::GetOnFail) + .Prop(_SC("OnAuth"), &Manager::GetOnAuth) .Prop(_SC("Invoker"), &Manager::GetInvoker) .Prop(_SC("Listener"), &Manager::GetListener) .Prop(_SC("Command"), &Manager::GetCommand)