mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-27 20:07:40 +00:00
added missing CAP_COMMANDLINE guards
This commit is contained in:
@@ -2065,6 +2065,7 @@ EX namespace nisot {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
#if CAP_COMMANDLINE
|
||||
auto config = addHook(hooks_args, 0, [] () {
|
||||
using namespace arg;
|
||||
#if CAP_SOLV
|
||||
@@ -2161,7 +2162,7 @@ EX namespace nisot {
|
||||
}
|
||||
return 1;
|
||||
});
|
||||
|
||||
#endif
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user