aboutsummaryrefslogtreecommitdiff
path: root/src/channels.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2022-01-31 02:04:43 +0000
committerGravatar Sadie Powell2022-01-31 12:01:39 +0000
commit7d3055f8c3908da493d29191b175be3f810ff05b (patch)
tree0d8def0a5c9452be28121f5f3e930b3f3010b1af /src/channels.cpp
parentRename the ExtensionItem::type field to extype to avoid collisions. (diff)
Add the type to the Extensible class.
Diffstat (limited to 'src/channels.cpp')
-rw-r--r--src/channels.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/channels.cpp b/src/channels.cpp
index b1d2e9822..983b89177 100644
--- a/src/channels.cpp
+++ b/src/channels.cpp
@@ -34,7 +34,8 @@ namespace
}
Channel::Channel(const std::string &cname, time_t ts)
- : name(cname)
+ : Extensible(ExtensionType::CHANNEL)
+ , name(cname)
, age(ts)
{
if (!ServerInstance->Channels.GetChans().emplace(cname, this).second)