summaryrefslogtreecommitdiff
path: root/src/channels.cpp
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2024-01-06 13:23:37 +0000
committerSadie Powell <sadie@witchery.services>2024-01-06 13:23:37 +0000
commita9ab0c72a69cacc597e91870f50622de0334f9a7 (patch)
tree57665546eb565fa608a203aca5f4ac65dc57a6f3 /src/channels.cpp
parentde918ef9cfb652b20b215d0d2f6622eb9a117b2c (diff)
Use auto in places where the type is unambiguous.
Diffstat (limited to 'src/channels.cpp')
-rw-r--r--src/channels.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/channels.cpp b/src/channels.cpp
index 2888e56a2..962debf56 100644
--- a/src/channels.cpp
+++ b/src/channels.cpp
@@ -142,7 +142,7 @@ ChanUserContainer* Channel::JoinUser(User *user, const ChannelStatus *status)
if (user->server && user->server->IsSynced())
Log(user, this, "join");
- ChanUserContainer *cuc = new ChanUserContainer(user, this);
+ auto *cuc = new ChanUserContainer(user, this);
user->chans[this] = cuc;
this->users[user] = cuc;
if (status)