aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/extra/m_mysql.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2022-01-07 17:12:42 +0000
committerGravatar Sadie Powell2022-01-07 17:16:50 +0000
commit52cc8a418307ae7a551d23e6bd2d367b544e7bf9 (patch)
tree9fff020964190f33174e78ff6201381be577d0b3 /src/modules/extra/m_mysql.cpp
parentMerge branch 'insp3' into master. (diff)
downloadinspircd++-52cc8a418307ae7a551d23e6bd2d367b544e7bf9.tar.gz
inspircd++-52cc8a418307ae7a551d23e6bd2d367b544e7bf9.tar.bz2
inspircd++-52cc8a418307ae7a551d23e6bd2d367b544e7bf9.zip
Refactor CoreException and ModuleException.
Diffstat (limited to 'src/modules/extra/m_mysql.cpp')
-rw-r--r--src/modules/extra/m_mysql.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/extra/m_mysql.cpp b/src/modules/extra/m_mysql.cpp
index 05637a6a6..23bbdce3d 100644
--- a/src/modules/extra/m_mysql.cpp
+++ b/src/modules/extra/m_mysql.cpp
@@ -432,7 +432,7 @@ class SQLConnection final
void ModuleSQL::init()
{
if (mysql_library_init(0, NULL, NULL))
- throw ModuleException("Unable to initialise the MySQL library!");
+ throw ModuleException(this, "Unable to initialise the MySQL library!");
Dispatcher = new DispatcherThread(this);
Dispatcher->Start();