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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user