mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-07 08:58:38 +00:00
restart need notice on utpex
This commit is contained in:
parent
1d4561d513
commit
72261756f5
1 changed files with 3 additions and 0 deletions
|
@ -1273,6 +1273,9 @@ static PyObject *torrent_use_utpex(PyObject *self, PyObject *args)
|
||||||
printf("Starting UTPEX\r\n");
|
printf("Starting UTPEX\r\n");
|
||||||
M_ses->add_extension(&libtorrent::create_ut_pex_plugin);
|
M_ses->add_extension(&libtorrent::create_ut_pex_plugin);
|
||||||
}
|
}
|
||||||
|
else{
|
||||||
|
printf("You must restart to remove UTPEX\r\n");
|
||||||
|
}
|
||||||
|
|
||||||
Py_INCREF(Py_None); return Py_None;
|
Py_INCREF(Py_None); return Py_None;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue