diff options
| author | 2024-07-13 15:29:29 +0100 | |
|---|---|---|
| committer | 2024-07-13 15:29:29 +0100 | |
| commit | 3b9e22381bac094b20daa2715fefa90978f2d465 (patch) | |
| tree | 79e354813920fa2a563d5062d6a407ed1c85f9c4 /src/modules/m_alias.cpp | |
| parent | Const correct numerichelper. (diff) | |
| download | inspircd++-3b9e22381bac094b20daa2715fefa90978f2d465.tar.gz inspircd++-3b9e22381bac094b20daa2715fefa90978f2d465.tar.bz2 inspircd++-3b9e22381bac094b20daa2715fefa90978f2d465.zip | |
Use auto when extracting the internal type of a message target.
Diffstat (limited to 'src/modules/m_alias.cpp')
| -rw-r--r-- | src/modules/m_alias.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<Channel>(); + auto* c = target.Get<Channel>(); std::string scommand; // text is like "!moo cows bite me", we want "!moo" first |
