]> skyeroc.xyz Git - dgamelaunch/commitdiff
Move shed_uid and shed_gid initial values to the correct place. Thanks to xororand.
authorPasi Kallinen <paxed@alt.org>
Sun, 24 May 2009 17:32:32 +0000 (17:32 +0000)
committerPasi Kallinen <paxed@alt.org>
Sun, 24 May 2009 17:32:32 +0000 (17:32 +0000)
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@459 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

TODO
config.y
dgl-common.c

diff --git a/TODO b/TODO
index 2cf44f1cd32c1f993577941fd9fdcd4333de8356..496cb80ffcf3a9c261fb993338cb8435ff1731a4 100644 (file)
--- a/TODO
+++ b/TODO
@@ -1,3 +1,10 @@
+-allow changing the name where the ttyrecs are saved, like
+  ttyrec_fn = "%rttyrec/%n/%g/%p.ttyrec"
+-allow typing / in watching screen to search for a user
+ ("/foo<enter>" would start watching user foo's game, or
+ report that that player is not playing.
+-maybe save more stuff in the db, if we're using the sqlite
+ (last login timestamp, watch-menu sort-type, etc)
 -Allow using a ttyrec (or similar screen capture) as the menu
  text, instead of a text file.
  maybe adding a bannertype={auto,txt,ttyrec,screendump}
index f051b99cbb8625e6467c747ca5ac26589cac0bff..1f407e81703710d7111a595998262eb877e007ee 100644 (file)
--- a/config.y
+++ b/config.y
@@ -93,10 +93,6 @@ KeyPair: TYPE_CMDQUEUE '[' TYPE_CMDQUEUENAME ']'
   struct group* gr;
   struct passwd* usr;
 
-
-  globalconfig.shed_uid = (uid_t)-1;
-  globalconfig.shed_gid = (gid_t)-1;
-
   switch ($1)
   {
     case TYPE_SGROUP:
index a3360451c1fb85e6f756fc1af7b1b5f0e4e39226..d46638b49f46f516f1548f0290b5488c731b0d60 100644 (file)
@@ -528,6 +528,9 @@ create_config ()
   globalconfig.menulist = NULL;
   globalconfig.server_id = NULL;
 
+  globalconfig.shed_uid = (uid_t)-1;
+  globalconfig.shed_gid = (gid_t)-1;
+
   globalconfig.sortmode = SORTMODE_NONE;
 
   if (config)