aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/extra/m_mysql.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2024-09-13 12:11:11 +0100
committerGravatar Sadie Powell2024-09-13 12:11:11 +0100
commita6ea949d4dbd7ab1ea972919ef7d8db312d31f6c (patch)
tree842d0275cd6c1d0003a28826da16cf02a89f2ed1 /src/modules/extra/m_mysql.cpp
parentOnly remove extbans on unload if provided by the right module. (diff)
downloadinspircd++-a6ea949d4dbd7ab1ea972919ef7d8db312d31f6c.tar.gz
inspircd++-a6ea949d4dbd7ab1ea972919ef7d8db312d31f6c.tar.bz2
inspircd++-a6ea949d4dbd7ab1ea972919ef7d8db312d31f6c.zip
Use reference<>::ptr() in more places.
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 aaf87f076..ae6a27a9d 100644
--- a/src/modules/extra/m_mysql.cpp
+++ b/src/modules/extra/m_mysql.cpp
@@ -395,7 +395,7 @@ public:
ModuleSQL* Parent()
{
- return (ModuleSQL*)(Module*)creator;
+ return static_cast<ModuleSQL*>(creator.ptr());
}
MySQLresult* DoBlockingQuery(const std::string& query)