1
0
mirror of https://github.com/anope/anope.git synced 2026-06-12 19:14:47 +02:00

RPC::service is not necessary anymore.

This commit is contained in:
Sadie Powell
2025-03-17 19:06:14 +00:00
parent bb1f93f150
commit 1641f6415a
5 changed files with 0 additions and 11 deletions
-2
View File
@@ -35,8 +35,6 @@ namespace RPC
ERR_METHOD_NOT_FOUND = -32601,
ERR_INVALID_PARAMS = -32602,
};
static ServiceReference<RPC::ServiceInterface> service("RPC::ServiceInterface", "rpc");
}
class RPC::Array final
-2
View File
@@ -388,8 +388,6 @@ public:
, anopelistusersrpcevent(this)
, anopeuserrpcevent(this)
{
if (!RPC::service)
throw ModuleException("Unable to find RPC interface, is jsonrpc/xmlrpc loaded?");
}
};
-3
View File
@@ -183,9 +183,6 @@ public:
, statsrpcevent(this)
{
me = this;
if (!RPC::service)
throw ModuleException("Unable to find RPC interface, is jsonrpc/xmlrpc loaded?");
}
};
-2
View File
@@ -133,8 +133,6 @@ public:
, messageserverrpcevent(this, global)
, messageuserrpcevent(this)
{
if (!RPC::service)
throw ModuleException("Unable to find RPC interface, is jsonrpc/xmlrpc loaded?");
}
};
-2
View File
@@ -110,8 +110,6 @@ public:
, anopedebugtypesrpcevent(this)
, systemlistmethodsrpcevent(this)
{
if (!RPC::service)
throw ModuleException("Unable to find RPC interface, is jsonrpc/xmlrpc loaded?");
}
};