From ca2209aaedc6c646063a58261fef2b57276ce4bb Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Tue, 5 Sep 2023 00:21:31 +0100 Subject: Show the SQL service name in the db_sql error message. This should help users diagnose issues easier. --- include/service.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') diff --git a/include/service.h b/include/service.h index 34e3c064e..c5c5a5881 100644 --- a/include/service.h +++ b/include/service.h @@ -128,6 +128,10 @@ class ServiceReference : public Reference { } + const Anope::string &GetServiceName() const { return name; } + + const Anope::string &GetServiceType() const { return type; } + inline void operator=(const Anope::string &n) { this->name = n; -- cgit