mirror of
https://github.com/pissnet/pissircd.git
synced 2025-07-31 07:22:26 +01:00
Add dialog box. That should be the last change for 3.2.10.6. I hope.
This commit is contained in:
parent
059605c341
commit
f72a982a82
2 changed files with 8 additions and 1 deletions
|
@ -1543,7 +1543,7 @@ int InitwIRCD(int argc, char *argv[])
|
|||
fprintf(stderr,
|
||||
"---------------------------------------------------------------------\n");
|
||||
#endif
|
||||
if (time(NULL) > 1477954800)
|
||||
if (time(NULL) > 1459461600)
|
||||
{
|
||||
fprintf(stderr, "WARNING: UnrealIRCd 3.2.x is no longer supported after December 31, 2016.\n"
|
||||
"See https://www.unrealircd.org/docs/UnrealIRCd_3.2.x_deprecated\n");
|
||||
|
|
|
@ -279,6 +279,13 @@ int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLi
|
|||
}
|
||||
ShowWindow(hWnd, SW_SHOW);
|
||||
hMainThread = (HANDLE)_beginthread(SocketLoop, 0, NULL);
|
||||
if (TStime() > 1459461600)
|
||||
{
|
||||
MessageBox(NULL, "UnrealIRCd 3.2.x is no longer supported after December 31, 2016. "
|
||||
"You should upgrade to UnrealIRCd 4. "
|
||||
"See https://www.unrealircd.org/docs/UnrealIRCd_3.2.x_deprecated",
|
||||
"UnrealIRCd 3.2.x is deprecated", MB_OK);
|
||||
}
|
||||
while (GetMessage(&msg, NULL, 0, 0))
|
||||
{
|
||||
if (!IsWindow(hStatusWnd) || !IsDialogMessage(hStatusWnd, &msg))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue