summaryrefslogtreecommitdiff
path: root/src/channel.h
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2011-11-12 11:40:45 +0100
committerThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2011-11-12 12:09:14 +0100
commitd3f698dbad2bc335765ee931781229cc0f0d123d (patch)
treeea839f8470bf272990bc927a707e539ac58984f5 /src/channel.h
parent454c49e4e136ed2a43fd118fcd830f04e114472a (diff)
downloadmana-d3f698dbad2bc335765ee931781229cc0f0d123d.tar.gz
mana-d3f698dbad2bc335765ee931781229cc0f0d123d.tar.bz2
mana-d3f698dbad2bc335765ee931781229cc0f0d123d.tar.xz
mana-d3f698dbad2bc335765ee931781229cc0f0d123d.zip
Removed some Channel and ChannelTab related silliness
* Channel always has a ChannelTab, so need to check it for null * Removed duplicate handling of 'topic' command * No need to set Channel::mTab twice Reviewed-by: Yohann Ferreira
Diffstat (limited to 'src/channel.h')
-rw-r--r--src/channel.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/channel.h b/src/channel.h
index ebf96136..2fafb0b6 100644
--- a/src/channel.h
+++ b/src/channel.h
@@ -73,10 +73,6 @@ class Channel
ChannelTab *getTab() { return mTab; }
- protected:
- friend class ChannelTab;
- void setTab(ChannelTab *tab) { mTab = tab; }
-
private:
unsigned short mId;
std::string mName;