From 3b9e22381bac094b20daa2715fefa90978f2d465 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sat, 13 Jul 2024 15:29:29 +0100 Subject: Use auto when extracting the internal type of a message target. --- src/modules/m_alias.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_alias.cpp') diff --git a/src/modules/m_alias.cpp b/src/modules/m_alias.cpp index a4f13a438..a7621a806 100644 --- a/src/modules/m_alias.cpp +++ b/src/modules/m_alias.cpp @@ -223,7 +223,7 @@ public: return; } - Channel* c = target.Get(); + auto* c = target.Get(); std::string scommand; // text is like "!moo cows bite me", we want "!moo" first -- cgit v1.3.1-10-gc9f91