[wesnoth-commits] [wesnoth/wesnoth] ce2aba: wesnothd: Fix lobby messages and whispers not bein...
GitHub
noreply at github.com
Mon Jun 18 08:50:29 UTC 2018
Branch: refs/heads/1.14
Home: https://github.com/wesnoth/wesnoth
Commit: ce2aba2aa0b7cb5e8627cac9fcf17dfc16233d33
https://github.com/wesnoth/wesnoth/commit/ce2aba2aa0b7cb5e8627cac9fcf17dfc16233d33
Author: Iris Morelle <shadowm at wesnoth.org>
Date: 2018-06-18 (Mon, 18 Jun 2018)
Changed paths:
M changelog.md
M src/server/server.cpp
Log Message:
-----------
wesnothd: Fix lobby messages and whispers not being truncated as they should
For lobby messages, there was a length cap in place already, but the
truncated message was lost in processing because it ended up in a WML
document that isn't the one relayed to listening clients.
On the other hand, whisper messages were missing the truncate logic
entirely. Oops.
(The logic for in-game messages does truncate messages correctly as far
as I can tell, and additionally the client UI doesn't allow overlong
messages.)
Thanks to Soliton for pointing me towards the faulty code.
Commit: 6e81ae330f602d006f5b229d441e6156d2cb8739
https://github.com/wesnoth/wesnoth/commit/6e81ae330f602d006f5b229d441e6156d2cb8739
Author: Iris Morelle <shadowm at wesnoth.org>
Date: 2018-06-18 (Mon, 18 Jun 2018)
Changed paths:
M changelog.md
Log Message:
-----------
U is not between C and G in the English alphabet
[ci skip]
Compare: https://github.com/wesnoth/wesnoth/compare/dff1a3275ced...6e81ae330f60
**NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from GitHub.com on January 31st, 2019.
More information about the Commits
mailing list