I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit c20c6971 authored by zzz's avatar zzz
Browse files

RouterAppManager: Allow registration of untracked ClientApps,

required for orchid plugin
parent b16e66d3
No related branches found
No related tags found
No related merge requests found
......@@ -138,8 +138,13 @@ public class RouterAppManager implements ClientAppManager {
* @return true if successful, false if duplicate name
*/
public boolean register(ClientApp app) {
if (!_clients.containsKey(app))
return false;
if (!_clients.containsKey(app)) {
// Allow registration even if we didn't start it,
// useful for plugins
if (_log.shouldLog(Log.INFO))
_log.info("Registering untracked client " + app.getName());
//return false;
}
if (_log.shouldLog(Log.INFO))
_log.info("Client " + app.getDisplayName() + " REGISTERED AS " + app.getName());
// TODO if old app in there is not running and != this app, allow replacement
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment