summaryrefslogtreecommitdiff
path: root/modules/commands/cs_mode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/commands/cs_mode.cpp')
-rw-r--r--modules/commands/cs_mode.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/cs_mode.cpp b/modules/commands/cs_mode.cpp
index cfdb748c0..27cd08fcb 100644
--- a/modules/commands/cs_mode.cpp
+++ b/modules/commands/cs_mode.cpp
@@ -76,7 +76,7 @@ struct ModeLocksImpl : ModeLocks
if (setter.empty())
setter = ci->GetFounder() ? ci->GetFounder()->display : "Unknown";
- ModeLock *ml = new ModeLockImpl();
+ auto *ml = new ModeLockImpl();
ml->ci = ci->name;
ml->set = status;
ml->name = mode->name;