diff --git a/amxmodx/libraries.cpp b/amxmodx/libraries.cpp index 284b2b5c..44263c2f 100644 --- a/amxmodx/libraries.cpp +++ b/amxmodx/libraries.cpp @@ -218,10 +218,8 @@ LibError RunLibCommand(const LibDecoder *enc) if (enc->cmd == LibCmd_ExpectLib) expect = LibType_Library; - else if (enc->cmd == LibCmd_ExpectClass) - expect = LibType_Class; else - expect = LibType_Library; + expect = LibType_Class; /** see if it exists */ for (; iter != end; iter++)