summaryrefslogtreecommitdiff
path: root/src/OptionHandlerFactory.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/OptionHandlerFactory.cc')
-rw-r--r--src/OptionHandlerFactory.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/OptionHandlerFactory.cc b/src/OptionHandlerFactory.cc
index 6f352cd4..9a3197e8 100644
--- a/src/OptionHandlerFactory.cc
+++ b/src/OptionHandlerFactory.cc
@@ -1854,6 +1854,12 @@ std::vector<OptionHandler*> OptionHandlerFactory::createOptionHandlers()
handlers.push_back(op);
}
{
+ OptionHandler* op(new DefaultOptionHandler(
+ PREF_PEER_AGENT, TEXT_PEER_AGENT, "aria2/" PACKAGE_VERSION));
+ op->addTag(TAG_BITTORRENT);
+ handlers.push_back(op);
+ }
+ {
OptionHandler* op(new FloatNumberOptionHandler(
PREF_SEED_TIME, TEXT_SEED_TIME, NO_DEFAULT_VALUE, 0));
op->addTag(TAG_BITTORRENT);