]> skyeroc.xyz Git - dgamelaunch/commitdiff
bugfix: registration was allowed from the main menu even when allow_new_nicks = 0...
authorPasi Kallinen <paxed@alt.org>
Tue, 1 Jan 2008 12:05:08 +0000 (12:05 +0000)
committerPasi Kallinen <paxed@alt.org>
Tue, 1 Jan 2008 12:05:08 +0000 (12:05 +0000)
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@390 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

dgamelaunch.c

index 4f64b8752030a76e2e28209b82d8657d27ea3f1f..30ec34ec5f29663c9dd217fa8f2b88d80bd9c69e 100644 (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':