Remove always-true condition.

It was only for logging anyway, can't be that important.
This commit is contained in:
Unknown W. Brackets 2015-04-08 12:15:41 -07:00
parent 9a8cd2c067
commit 0847d46b79

View File

@ -4785,9 +4785,7 @@ int matchingEventThread(int matchingId)
if (msg->optlen > 0) opt = ((u8 *)msg) + sizeof(ThreadMessage); //&msg[1]
// Log Matching Events
if (msg->opcode >= 0) {
INFO_LOG(SCENET, "EventLoop[%d]: Matching Event [%d=%s] OptSize=%d", matchingId, msg->opcode, getMatchingEventStr(msg->opcode), msg->optlen);
}
INFO_LOG(SCENET, "EventLoop[%d]: Matching Event [%d=%s] OptSize=%d", matchingId, msg->opcode, getMatchingEventStr(msg->opcode), msg->optlen);
context->eventlock->unlock(); // Unlock to prevent race-condition with other threads due to recursive lock
// Call Event Handler