Report the correct error if someone tries to use the evented path_find through the RPC API.

(Maybe we'll add limited support for this later.)
This commit is contained in:
JoelKatz
2013-05-03 13:59:04 -07:00
parent e0c6ae2095
commit e7529d0221

View File

@@ -736,6 +736,7 @@ Json::Value RPCParser::parseCommand(std::string strMethod, Json::Value jvParams)
#endif
// Evented methods
{ "path_find", &RPCParser::parseEvented, -1, -1 },
{ "subscribe", &RPCParser::parseEvented, -1, -1 },
{ "unsubscribe", &RPCParser::parseEvented, -1, -1 },
};