summaryrefslogtreecommitdiff
path: root/src/channel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/channel.cpp')
-rw-r--r--src/channel.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/channel.cpp b/src/channel.cpp
index 0cd850a9..3e4646fb 100644
--- a/src/channel.cpp
+++ b/src/channel.cpp
@@ -34,7 +34,12 @@ Channel::Channel(short id,
const std::string &announcement) :
mId(id),
mName(name),
- mAnnouncement(announcement)
+ mAnnouncement(announcement),
+ mTab(new ChannelTab(this))
{
+}
+Channel::~Channel()
+{
+ delete mTab;
}