1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-06-29 10:36:37 +02:00

- Disable /RESTART if running chrooted since that won't work anyway, reported by kayelem

(#0002956).
This commit is contained in:
Bram Matthys
2006-06-07 11:31:52 +00:00
parent 74c38ca2b5
commit c592701f91
2 changed files with 8 additions and 1 deletions
+3 -1
View File
@@ -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).
+5
View File
@@ -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)
{