diff options
Diffstat (limited to 'src/modules/extra/m_sqlauth.cpp')
-rw-r--r-- | src/modules/extra/m_sqlauth.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/modules/extra/m_sqlauth.cpp b/src/modules/extra/m_sqlauth.cpp index d5ccc20d7..f27c0c28b 100644 --- a/src/modules/extra/m_sqlauth.cpp +++ b/src/modules/extra/m_sqlauth.cpp @@ -68,7 +68,7 @@ class ModuleSQLAuth : public Module { encryption.append("("); } - delete Conf; + DELETE(Conf); SQLModule = Srv->FindModule("m_sql.so"); if (!SQLModule) Srv->Log(DEFAULT,"WARNING: m_sqlauth.so could not initialize because m_sql.so is not loaded. Load the module and rehash your server."); @@ -170,8 +170,8 @@ class ModuleSQLAuth : public Module found = false; } - delete rowrequest; - delete rowresult; + DELETE(rowrequest); + DELETE(rowresult); } else { @@ -185,8 +185,8 @@ class ModuleSQLAuth : public Module Request donerequest((char*)query, this, SQLModule); donerequest.Send(); - delete query; - delete result; + DELETE(query); + DELETE(result); return found; } |