https://gitlab.synchro.net/main/sbbs/-/commit/a88cce194ace7b9477acddb1
Modified Files:
src/sbbs3/ctrl/MainFormUnit.cpp src/sbbs3/ftpsrvr.c login.cpp logout.cpp mailsrvr.c main.cpp ntsvcs.c ntsvcs.h services.c startup.h userdat.c userdat.h websrvr.c
Log Message:
Control sound-mute via semfile (ctrl/sound.muted) rather than sbbs.ini
There was a bug with reloading the configuration files in sbbsctrl where the sound button no longer reflected the truth and the sysop's previous click-state of the button was lost. Rather than going through writing the OPT_MUTE flag to the Options fields of all the sections of the sbbs.ini and then re-loading that file as a result, just do like we did with the sysop chat availability: use a semfile. So much simpler.
If anyone ever needs instance-specific muting, we can create/check instance/host-specific mute semfiles then. Doubt that'll happen though.
Also, removed the old sysavail control methods of ntsvcs too.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net