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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user