Author: suokko
Date: Thu Jun 12 01:43:48 2008
New Revision: 27108

URL: http://svn.gna.org/viewcvs/wesnoth?rev=27108&view=rev
Log:
Fixed chatlog not to so lobby joins if set in preferences

Modified:
    trunk/changelog
    trunk/src/replay.cpp

Modified: trunk/changelog
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/changelog?rev=27108&r1=27107&r2=27108&view=diff
==============================================================================
--- trunk/changelog (original)
+++ trunk/changelog Thu Jun 12 01:43:48 2008
@@ -56,6 +56,7 @@
      a command. Also accept incomplete command and pass parameters (ex: "alias
      hp=unit hitpoints", then use "hp 100")
    * Add a filter text box for the "Create Unit" dialog
+   * Fixed chatlog not to so lobby joins if set in preferences
    * Also highlight the fog under the mouse (not just the terrain)
    * The class of each add-on is displayed in the downloads dialog
  * WML engine:

Modified: trunk/src/replay.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/replay.cpp?rev=27108&r1=27107&r2=27108&view=diff
==============================================================================
--- trunk/src/replay.cpp (original)
+++ trunk/src/replay.cpp Thu Jun 12 01:43:48 2008
@@ -452,6 +452,8 @@
                return;
        }
        const config& cfg = *speak;
+       if (!preferences::show_lobby_join(cfg["id"], cfg["message"])) return;
+       if (preferences::is_ignored(cfg["id"])) 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

Reply via email to