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