Move shed_uid and shed_gid initial values to the correct place. Thanks to xororand.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@459 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
This commit is contained in:
parent
14112830ce
commit
aae24f9893
7
TODO
7
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}
|
||||
|
|
4
config.y
4
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:
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue