summaryrefslogtreecommitdiff
path: root/.inspircd.inc
diff options
context:
space:
mode:
Diffstat (limited to '.inspircd.inc')
-rw-r--r--.inspircd.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/.inspircd.inc b/.inspircd.inc
index cb59bc3cb..ed22f7317 100644
--- a/.inspircd.inc
+++ b/.inspircd.inc
@@ -60,6 +60,7 @@ if ($arg eq "cron") {
if ($arg eq "restart") {
stop();
+ unlink($pidfile) if (-e $pidfile);
start();
# kthxbye();
exit();