[Freeciv-Dev] (PR#40191) [Patch] Do not resend Edit Mode message to everyone when client connects

2008-04-06 Thread Marko Lindqvist

URL: http://bugs.freeciv.org/Ticket/Display.html?id=40191 

 When new client connects, send Edit Mode notification only to that connection.


 - ML

diff -Nurd -X.diff_ignore freeciv/server/connecthand.c freeciv/server/connecthand.c
--- freeciv/server/connecthand.c	2008-04-05 00:49:30.0 +0300
+++ freeciv/server/connecthand.c	2008-04-06 16:18:46.0 +0300
@@ -196,7 +196,7 @@
   }
 
   if (game.info.is_edit_mode) {
-notify_conn(NULL, NULL, E_SETTING,
+notify_conn(dest, NULL, E_SETTING,
 _( *** Server is in edit mode. *** ));
   }
 
___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] (PR#40191) [Patch] Do not resend Edit Mode message to everyone when client connects

2008-04-06 Thread Madeline Book

URL: http://bugs.freeciv.org/Ticket/Display.html?id=40191 

 [EMAIL PROTECTED] - Sun Apr 06 13:33:00 2008]:
 
  When new client connects, send Edit Mode notification only to that
 connection.

Quite correct, it was my mistake to use NULL instead of dest.


--
天国を滅ぼした男の話である。

___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev