<URL: http://bugs.freeciv.org/Ticket/Display.html?id=39641 >

On 31/08/07, Marko Lindqvist <[EMAIL PROTECTED]> wrote:
>
> On 31/08/2007, Marko Lindqvist <[EMAIL PROTECTED]> wrote:
> >
> >  Automatic metamessage is set (and sent) to metaserver only after
> > first player is actually connected server.
> >  Attached patch fixes this. For trunk, S2_1 and S2_0.
>
>  Except that for *release* version default string is rather stupid;
> "(default)". This version of the patch makes it empty string instead.

 Metaserver web -page seems stupid when empty string is used. This
version has default string "-".


 - ML

diff -Nurd -X.diff_ignore freeciv/server/meta.c freeciv/server/meta.c
--- freeciv/server/meta.c	2007-08-12 21:30:36.000000000 +0300
+++ freeciv/server/meta.c	2007-09-02 02:39:10.000000000 +0300
@@ -94,7 +94,7 @@
 #if IS_DEVEL_VERSION
   return "development version: beware";
 #else  /* IS_DEVEL_VERSION */
-  return "(default)";
+  return "-";
 #endif /* IS_DEVEL_VERSION */
 #endif /* IS_BETA_VERSION */
 }
diff -Nurd -X.diff_ignore freeciv/server/srv_main.c freeciv/server/srv_main.c
--- freeciv/server/srv_main.c	2007-08-30 12:25:20.000000000 +0300
+++ freeciv/server/srv_main.c	2007-09-02 02:38:45.000000000 +0300
@@ -1666,6 +1666,7 @@
     server_open_meta(); /* open socket for meta server */ 
   }
 
+  maybe_automatic_meta_message(default_meta_message_string());
   (void) send_server_info_to_metaserver(META_INFO);
 
   /* accept new players, wait for serverop to start..*/
_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to