1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2025-02-20 19:57:12 +01:00

Don't attempt to overload the cmp metamethod in the comamnd listener type.

This commit is contained in:
Sandu Liviu Catalin 2016-11-15 21:44:58 +02:00
parent 242d6be1fe
commit 677398a642

View File

@ -1074,7 +1074,7 @@ void Register(HSQUIRRELVM vm)
.Ctor< CSStr, CSStr, Array &, Uint8, Uint8, SQInteger, bool, bool >()
// Meta-methods
.SquirrelFunc(_SC("_typename"), &ListenerTypename::Fn)
.Func(_SC("_cmp"), &Listener::Cmp)
.Func(_SC("cmp"), &Listener::Cmp)
.Func(_SC("_tostring"), &Listener::ToString)
// Member Properties
.Prop(_SC("References"), &Listener::GetRefCount)