1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-07 18:03:12 +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
+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)
{