diff options
author | Sadie Powell <sadie@witchery.services> | 2024-01-06 13:23:37 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2024-01-06 13:23:37 +0000 |
commit | a9ab0c72a69cacc597e91870f50622de0334f9a7 (patch) | |
tree | 57665546eb565fa608a203aca5f4ac65dc57a6f3 /modules/m_proxyscan.cpp | |
parent | de918ef9cfb652b20b215d0d2f6622eb9a117b2c (diff) |
Use auto in places where the type is unambiguous.
Diffstat (limited to 'modules/m_proxyscan.cpp')
-rw-r--r-- | modules/m_proxyscan.cpp | 2 |
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); |