stupid typo

oops
This commit is contained in:
Michael Davidsaver
2017-06-08 18:56:00 +02:00
parent 7f4d48a176
commit fabb85c5e3

View File

@@ -75,7 +75,7 @@ bool ChannelProviderRegistry::add(const ChannelProviderFactory::shared_pointer&
Lock G(mutex);
std::string name(fact->getFactoryName());
if(!replace && providers.find(name)!=providers.end())
throw false;
return false;
providers[name] = fact;
return true;
}