mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-11 17:51:04 +00:00
Performance fixes.
This commit is contained in:
parent
5d08ada224
commit
0fd1ee0380
8 changed files with 35 additions and 36 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue