Fixed invalid channel comparison
This commit is contained in:
parent
2522e12882
commit
4deccb4e8b
1 changed files with 1 additions and 1 deletions
|
@ -587,7 +587,7 @@ namespace connection {
|
|||
if(!channel_from) {
|
||||
log.error(LogCategory.NETWORKING, tr("Unknown client move (Channel from)!"));
|
||||
channel_from = client.currentChannel();
|
||||
} else if(channel_to !== client.currentChannel()) {
|
||||
} else if(channel_from != client.currentChannel()) {
|
||||
log.error(LogCategory.NETWORKING,
|
||||
tr("Client move from invalid source channel! Local client registered in channel %d but server send %d."),
|
||||
client.currentChannel().channelId, channel_from.channelId
|
||||
|
|
Loading…
Add table
Reference in a new issue