Set Main / Unmoderated to registered only

If players want the privilege of having access to the unmoderated room,
then they can create and use an account.
This commit is contained in:
Nathan Fulton 2016-06-09 19:18:00 -04:00
parent 363c8f7f02
commit aaf2cf35e6

View File

@ -200,7 +200,7 @@ int main(int argc, char **argv)
&result);
server.lobby().NewRoom(NULL, "Main / Unmoderated", "",
wi::kroomidUnmoderated,
wi::kfRmPermanent | wi::kfRmLocked | wi::kfRmUnmoderated,
wi::kfRmPermanent | wi::kfRmLocked | wi::kfRmUnmoderated | wi::kfRmRegisteredOnly,
&result);
// Get the public_address. This is the address that gets sent in