mirror of
https://github.com/SWG-Source/src.git
synced 2026-08-04 04:16:02 -04:00
more fixing and cleanup
This commit is contained in:
@@ -421,7 +421,7 @@ void ConnectionServerConnection::onReceive(const Archive::ByteStream & message)
|
||||
NetworkId targetId = message.getKickeeId();
|
||||
std::string const & targetName = message.getKickeeName();
|
||||
if(targetId.isValid() ||
|
||||
!targetName.empty() && (ChatServer::getVoiceChatLoginInfoFromName(targetName, targetId)))
|
||||
(!targetName.empty() && (ChatServer::getVoiceChatLoginInfoFromName(targetName, targetId))))
|
||||
{
|
||||
ChatServer::requestKickPlayerFromChannel(message.getRequester(), targetId, message.getChannelName());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user