- Fixed an error when disabling upnp

- upnp is now disabled as a default
This commit is contained in:
Christophe Dumez 2007-03-29 13:51:15 +00:00
parent 3ea7685405
commit 3f01be8d6e
3 changed files with 13 additions and 2 deletions

View file

@ -986,7 +986,7 @@ void GUI::configureSession(bool deleteOptions){
}
#ifndef NO_UPNP
// Upnp
if(options->isDHTEnabled()){
if(options->isUPnPEnabled()){
BTSession.enableUPnP(options->getUPnPPort());
BTSession.setUPnPPort(options->getUPnPPort());
}else{