NiPC mode and Roaming mode are enabled at the same time

If you have both NiPC and Roaming modes enabled at the same time you will get this alarm:

NiPC mode and Roaming mode are enabled at the same time. Please edit javascript.conf and disable one of them. It is recommened to set mode=nipc/roaming in [ybts] section in ybts.conf.

To fix this you have to decide which mode you want to run and disable the other one.

A ybts mode can be loaded in two ways:

Note! If mode setting is missing then NiPC mode is loaded by default

[ybts]
mode=nipc

[scripts]
roaming=roaming.js
;OR
nipc=nipc.js