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 0a62e073..ea6789ee 100644
--- a/src/channel.h
+++ b/src/channel.h
@@ -30,8 +30,8 @@ class Channel
Channel(short id);
std::string getName() const;
void setName(const std::string &channelName);
- const short getId() const;
- const int getUserListSize() const;
+ int getId() const { return mID; }
+ int getUserListSize() const;
std::string getUser(unsigned int i) const;
private:
typedef std::vector<std::string> Users;