mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 00:25:19 +02:00
Performance fixes.
This commit is contained in:
@@ -1508,7 +1508,7 @@ void Server::ProcessData(u8 *data, u32 datasize, u16 peer_id)
|
||||
<<"tried to connect from "<<addr_s<<" "
|
||||
<<"but it was disallowed for the following reason: "
|
||||
<<reason<<std::endl;
|
||||
DenyAccess(peer_id, narrow_to_wide(reason.c_str()));
|
||||
DenyAccess(peer_id, narrow_to_wide(reason));
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user