summaryrefslogtreecommitdiff
path: root/src/channel.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/channel.h')
-rw-r--r--src/channel.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/channel.h b/src/channel.h
index cf52743f0..1df0e3204 100644
--- a/src/channel.h
+++ b/src/channel.h
@@ -37,7 +37,7 @@ class Channel
* @param name the name of the channel.
* @param announcement a welcome message.
*/
- Channel(short id,
+ Channel(const short id,
const std::string &name,
const std::string &announcement = std::string());
@@ -78,7 +78,7 @@ class Channel
protected:
friend class ChannelTab;
- void setTab(ChannelTab *tab)
+ void setTab(ChannelTab *const tab)
{ mTab = tab; }
private: