1
0
mirror of https://github.com/anope/anope.git synced 2026-07-08 06:43:12 +02:00

Show the SQL service name in the db_sql error message.

This should help users diagnose issues easier.
This commit is contained in:
Sadie Powell
2023-09-05 00:21:31 +01:00
parent 0a3ddef315
commit ca2209aaed
2 changed files with 6 additions and 2 deletions
+4
View File
@@ -128,6 +128,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;