This commit is contained in:
cdyong 2015-10-30 06:42:46 +00:00
parent 3617afc0dc
commit 93c3f95395
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ bool TinyClient::OnReceive(TinyMessage& msg)
// 不处理来自网关以外的消息 // 不处理来自网关以外的消息
//if(Server == 0 || Server != msg.Dest) return true; //if(Server == 0 || Server != msg.Dest) return true;
if(msg.Code != 0x01 && Server != 0 && Server != msg.Src) return true; if(msg.Code != 0x01 && Server != 0 && Server != msg.Dest) return true;
if(msg.Src == Server) LastActive = Time.Current(); if(msg.Src == Server) LastActive = Time.Current();