diff --git a/src/sbbs3/ctrl/sbbsctrl.cpp b/src/sbbs3/ctrl/sbbsctrl.cpp index b113544eeb376ac77c6f763201b7f75ea7f3b157..ba3da6727e83c55fd5f3bebeda40457ac3007a1b 100644 --- a/src/sbbs3/ctrl/sbbsctrl.cpp +++ b/src/sbbs3/ctrl/sbbsctrl.cpp @@ -93,7 +93,7 @@ WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR cmd, int) Application->CreateForm(__classid(TSoundCfgDlg), &SoundCfgDlg); if(cmd[0] && isdir(cmd)) SAFECOPY(MainForm->global.ctrl_dir,cmd); - sbbs_get_ini_fname(MainForm->ini_file, MainForm->global.ctrl_dir, NULL /* auto-hostname */); + sbbs_get_ini_fname(MainForm->ini_file, MainForm->global.ctrl_dir); CreateMutex(NULL, FALSE, "sbbsctrl_running"); /* For use by Inno Setup */ Application->Run(); }