diff options
Diffstat (limited to 'src/gui/chat.h')
-rw-r--r-- | src/gui/chat.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/chat.h b/src/gui/chat.h index 9f762f8e..21f80f13 100644 --- a/src/gui/chat.h +++ b/src/gui/chat.h @@ -171,9 +171,10 @@ class ChatWindow : public Window, void doPresent(); - void whisper(std::string nick, std::string mes, bool own = false); + void whisper(const std::string &nick, std::string mes, + bool own = false); - ChatTab *addWhisperTab(std::string nick); + ChatTab *addWhisperTab(const std::string &nick); protected: friend class ChatTab; |