mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-03-20 20:09:43 +00:00
added missing CAP_COMMANDLINE guards, and other fixes for non-CAP_COMMANDLINE
This commit is contained in:
@@ -238,6 +238,7 @@ EX modecode_t legacy_modecode() {
|
||||
return mct;
|
||||
}
|
||||
|
||||
#if CAP_COMMANDLINE
|
||||
/* legacy options */
|
||||
int read_legacy_args() {
|
||||
using namespace arg;
|
||||
@@ -272,6 +273,7 @@ int read_legacy_args() {
|
||||
}
|
||||
|
||||
auto ah_legacy = addHook(hooks_args, 0, read_legacy_args);
|
||||
#endif
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user