From: Pasi Kallinen Date: Tue, 1 Jan 2008 12:05:08 +0000 (+0000) Subject: bugfix: registration was allowed from the main menu even when allow_new_nicks = 0... X-Git-Tag: v1.6.1-roc-dev~318 X-Git-Url: https://skyeroc.xyz/gitweb/?a=commitdiff_plain;h=41d038ef3e020a3e8b1c20a46c8cf38dda1a20b5;p=dgamelaunch 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 --- diff --git a/dgamelaunch.c b/dgamelaunch.c index 4f64b87..30ec34e 100644 --- a/dgamelaunch.c +++ b/dgamelaunch.c @@ -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':