summaryrefslogtreecommitdiff
path: root/src/actions/chat.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/actions/chat.cpp')
-rw-r--r--src/actions/chat.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/actions/chat.cpp b/src/actions/chat.cpp
index 40ff966be..e1f801c0b 100644
--- a/src/actions/chat.cpp
+++ b/src/actions/chat.cpp
@@ -300,8 +300,11 @@ impHandler(msg2)
std::string recvnick;
std::string message;
- if ((chatHandler != nullptr) && splitWhisper(event.args, recvnick, message))
+ if (chatHandler != nullptr &&
+ splitWhisper(event.args, recvnick, message))
+ {
chatHandler->privateMessage(recvnick, message);
+ }
return true;
}