restart need notice on utpex

This commit is contained in:
Marcos Pinto 2007-06-15 21:54:43 +00:00
parent 1d4561d513
commit 72261756f5
1 changed files with 3 additions and 0 deletions

View File

@ -1273,6 +1273,9 @@ static PyObject *torrent_use_utpex(PyObject *self, PyObject *args)
printf("Starting UTPEX\r\n");
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;
}