Author: baufo
Date: Wed Oct 22 14:32:51 2008
New Revision: 30307
URL: http://svn.gna.org/viewcvs/wesnoth?rev=30307&view=rev
Log:
Fixing chat log bug showing all lobby joins regardless to preferences
Modified:
branches/1.4/src/replay.cpp
Modified: branches/1.4/src/replay.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/branches/1.4/src/replay.cpp?rev=30307&r1=30306&r2=30307&view=diff
==============================================================================
--- branches/1.4/src/replay.cpp (original)
+++ branches/1.4/src/replay.cpp Wed Oct 22 14:32:51 2008
@@ -450,6 +450,8 @@
return;
}
const config& cfg = *speak;
+ if (!preferences::show_lobby_join(cfg["description"], cfg["message"]))
return;
+ if (preferences::is_ignored(cfg["description"])) return;
const std::string& team_name = cfg["team_name"];
if(team_name == "" || team_name == team) {
if(team_name == "") {
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits