1
0
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:
Zeno Rogue
2020-04-06 08:38:05 +02:00
parent 9a84dfb497
commit 1b9cdab98c
5 changed files with 12 additions and 2 deletions

View File

@@ -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
}
}