bugfix: registration was allowed from the main menu even when allow_new_nicks = 0 in dgl rcfile.

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@390 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
This commit is contained in:
Pasi Kallinen 2008-01-01 12:05:08 +00:00
parent 1dfea9da26
commit 41d038ef3e
1 changed files with 1 additions and 1 deletions

View File

@ -1857,7 +1857,7 @@ menuloop (void)
graceful_exit(0);
/* break; */
case 'r':
if (!loggedin) /*not visible to loggedin */
if (!loggedin && globalconfig.allow_registration)
newuser ();
break;
case 'l':