diff options
Diffstat (limited to 'src/gui/widgets')
-rw-r--r-- | src/gui/widgets/tabs/whispertab.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/widgets/tabs/whispertab.cpp b/src/gui/widgets/tabs/whispertab.cpp index d0a29797f..ed17bd652 100644 --- a/src/gui/widgets/tabs/whispertab.cpp +++ b/src/gui/widgets/tabs/whispertab.cpp @@ -23,6 +23,7 @@ #include "gui/widgets/tabs/whispertab.h" #include "chatlogger.h" +#include "commandhandler.h" #include "commands.h" #include "being/localplayer.h" @@ -104,11 +105,11 @@ bool WhisperTab::handleCommand(const std::string &restrict type, } else if (type == "ignore") { - Commands::ignore(mNick, this); + CommandHandler::invokeCommand(COMMAND_IGNORE, mNick, this); } else if (type == "unignore") { - Commands::unignore(mNick, this); + CommandHandler::invokeCommand(COMMAND_UNIGNORE, mNick, this); } else { |