summaryrefslogtreecommitdiff
path: root/src/gui/widgets/channeltab.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/channeltab.h')
-rw-r--r--src/gui/widgets/channeltab.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/widgets/channeltab.h b/src/gui/widgets/channeltab.h
index 886ae28e..2f668b89 100644
--- a/src/gui/widgets/channeltab.h
+++ b/src/gui/widgets/channeltab.h
@@ -33,11 +33,12 @@ class ChannelTab : public ChatTab
{
public:
- Channel *getChannel() { return mChannel; }
+ Channel *getChannel() const { return mChannel; }
void showHelp();
- bool handleCommand(std::string type, std::string args);
+ bool handleCommand(const std::string &type,
+ const std::string &args);
protected:
friend class Channel;