diff options
Diffstat (limited to 'modules/extra/m_proxyscan.cpp')
| -rw-r--r-- | modules/extra/m_proxyscan.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/extra/m_proxyscan.cpp b/modules/extra/m_proxyscan.cpp index badc293fc..f7fa3fdad 100644 --- a/modules/extra/m_proxyscan.cpp +++ b/modules/extra/m_proxyscan.cpp @@ -98,7 +98,7 @@ class ProxyConnect : public ConnectionSocket ircdproto->SendSZLine(NULL, x); else ircdproto->SendAkill(NULL, x); - delete x; + x->destroy(); } } }; @@ -360,7 +360,7 @@ class ModuleProxyScan : public Module if (!this->con_notice.empty() && !this->con_source.empty()) { - BotInfo *bi = findbot(this->con_source); + const BotInfo *bi = findbot(this->con_source); if (bi) user->SendMessage(bi, this->con_notice); } |
