1
0
Fork 0
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:
onkrot 2015-01-10 11:05:42 +00:00 committed by Craig Robbins
parent 5d08ada224
commit 0fd1ee0380
8 changed files with 35 additions and 36 deletions

View file

@ -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;
}
}