We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 469123a commit 6f76046Copy full SHA for 6f76046
methods/TrinityCore/GlobalMethods.h
@@ -1962,7 +1962,7 @@ namespace LuaGlobalFunctions
1962
if (opcode >= NUM_MSG_TYPES)
1963
#else
1964
OpcodeTable opcodeTable;
1965
- if ((!opcodeTable.IsValid((OpcodeClient)opcode)) || (!opcodeTable.IsValid((OpcodeServer)opcode)))
+ if ((!opcodeTable.IsValid((OpcodeClient)opcode)) && (!opcodeTable.IsValid((OpcodeServer)opcode)))
1966
#endif
1967
return luaL_argerror(E->L, 1, "valid opcode expected");
1968
0 commit comments