Index: /applications/editors/josm/plugins/remotecontrol/src/org/openstreetmap/josm/plugins/remotecontrol/RequestProcessor.java
===================================================================
--- /applications/editors/josm/plugins/remotecontrol/src/org/openstreetmap/josm/plugins/remotecontrol/RequestProcessor.java	(revision 22733)
+++ /applications/editors/josm/plugins/remotecontrol/src/org/openstreetmap/josm/plugins/remotecontrol/RequestProcessor.java	(revision 22734)
@@ -89,5 +89,6 @@
 			command = command.substring(1);
 		}
-		if (handlers.get("/" + command) != null) {
+		String commandWithSlash = "/" + command;
+		if (handlers.get(commandWithSlash) != null) {
 			System.out.println("RemoteControl: ignoring duplicate command " + command
 					+ " with handler " + handler.getName());
@@ -95,5 +96,5 @@
 			if(!silent) System.out.println("RemoteControl: adding command \"" + 
 					command + "\" (handled by " + handler.getSimpleName() + ")");
-			handlers.put(command, handler);
+			handlers.put(commandWithSlash, handler);
 		}
 	}
