diff --git a/Changes b/Changes index 6522230d3..31bca7644 100644 --- a/Changes +++ b/Changes @@ -1246,5 +1246,7 @@ - Updated release notes, bleh.. I forgot :P - Got rid of qline notice that could happen if using services holds (semi-race condition), reported and bugfix provided by tabrisnet (#0002950). -- Made people with can_override able to change the topic again if not chanop and banned/+m-t, +- Made opers with can_override able to change the topic again if not chanop and banned/+m-t, reported by vonitsanet (#0002952). +- Disable /RESTART if running chrooted since that won't work anyway, reported by kayelem + (#0002956). diff --git a/src/s_serv.c b/src/s_serv.c index 7bbd2fcd9..e99c5c976 100644 --- a/src/s_serv.c +++ b/src/s_serv.c @@ -756,6 +756,11 @@ char *reason = parv[1]; return 0; } +#ifdef CHROOTDIR + sendnotice(sptr, "/RESTART does not work on chrooted servers"); + return 0; +#endif + /* Syntax: /restart */ if (parc == 1) {