summaryrefslogtreecommitdiff
path: root/modules/m_proxyscan.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/m_proxyscan.cpp')
-rw-r--r--modules/m_proxyscan.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/m_proxyscan.cpp b/modules/m_proxyscan.cpp
index ffca85f8c..e99b40751 100644
--- a/modules/m_proxyscan.cpp
+++ b/modules/m_proxyscan.cpp
@@ -88,7 +88,7 @@ protected:
BotInfo *OperServ = Config->GetClient("OperServ");
Log(OperServ) << "PROXYSCAN: Open " << this->GetType() << " proxy found on " << this->conaddr.str() << " (" << reason << ")";
- XLine *x = new XLine("*@" + this->conaddr.addr(), OperServ ? OperServ->nick : "", Anope::CurTime + this->proxy.duration, reason, XLineManager::GenerateUID());
+ auto *x = new XLine("*@" + this->conaddr.addr(), OperServ ? OperServ->nick : "", Anope::CurTime + this->proxy.duration, reason, XLineManager::GenerateUID());
if (add_to_akill && akills)
{
akills->AddXLine(x);