X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=.inspircd.inc;h=ed22f731744f889003c466d1f04231a004086841;hb=8521a649632fef348cedfa38c770f1d6148415f7;hp=cb59bc3cb47f5f50cf4b82343c538ed4baa337e0;hpb=ffe8c3ce60e83c48aa393fa718602c070f4149e2;p=user%2Fhenk%2Fcode%2Finspircd.git 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();