Closed
Description
In frame.py's OnFirstConnect function there are initializations and checks of upnp functionality even when upnp is configured as False (and such functionality is not desired or needed)
Please relocate
if self.np.config.sections["server"]["upnp"]:
to the very start of OnFirstConnect()
This is an issue as the reworked code broke the ability of the user to Torify Nicotine+.