summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2023-10-11 15:35:24 +0100
committerSadie Powell <sadie@witchery.services>2023-10-11 15:51:52 +0100
commit8e1c7e1e442958b200360a53869f08e0344c8c99 (patch)
tree3abe5545c26bb351f981928c164a3d1de7e5566e /include
parenta3241065c55fd2a69e8793b89a5d0b1a957b3fd0 (diff)
parent6119586920efb0fbafbaef73c13fd7afb2aa60e7 (diff)
Merge branch '2.0' into 2.1.
Diffstat (limited to 'include')
-rw-r--r--include/service.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/service.h b/include/service.h
index 55ebe62bd..fd4163675 100644
--- a/include/service.h
+++ b/include/service.h
@@ -127,6 +127,10 @@ class ServiceReference : public Reference<T>
{
}
+ const Anope::string &GetServiceName() const { return name; }
+
+ const Anope::string &GetServiceType() const { return type; }
+
inline void operator=(const Anope::string &n)
{
this->name = n;