restart need notice on utpex
This commit is contained in:
parent
1d4561d513
commit
72261756f5
|
@ -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…
Reference in New Issue