summaryrefslogtreecommitdiff
path: root/src/actions/commands.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/actions/commands.cpp')
-rw-r--r--src/actions/commands.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/actions/commands.cpp b/src/actions/commands.cpp
index 53c1f4fd0..bb7e37d87 100644
--- a/src/actions/commands.cpp
+++ b/src/actions/commands.cpp
@@ -91,7 +91,7 @@ static std::string getNick(const InputEvent &event)
if (!event.tab || event.tab->getType() != ChatTabType::WHISPER)
return std::string();
- WhisperTab *const whisper = static_cast<WhisperTab* const>(event.tab);
+ WhisperTab *const whisper = static_cast<WhisperTab *>(event.tab);
if (whisper->getNick().empty())
{
// TRANSLATORS: change relation