1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-07 10:43:13 +02:00

Windows: when UnrealIRCd fails to start due to a configuration error apparently some

users didn't read and close the error screen. Instead they hit the "rehash" command
from the sytem tray and this would crash UnrealIRCd. From now on if you do that a
messagebox will show up saying you should pay attention to the error screen ;)
This commit is contained in:
Bram Matthys
2016-05-22 19:42:42 +02:00
parent 2c25833e19
commit 762c39eb0d
+7
View File
@@ -561,6 +561,13 @@ LRESULT CALLBACK MainDLG(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
return FALSE;
}
if (!loop.ircd_booted)
{
MessageBox(NULL, "UnrealIRCd not booted due to configuration errors. "
"Check other window for error details. Then close that window, "
"fix the errors and start UnrealIRCd again.");
return FALSE;
}
switch(LOWORD(wParam))
{
case IDM_STATUS: