diff options
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/main.cpp b/src/main.cpp index 1ae5eb6..92d70b0 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -160,9 +160,8 @@ int main(int argc, char **argv) #endif if(request.room->localUser && request.room->localUser != request.message->creator) { - string cmd = "notify-send dchat '"; - cmd += escapeCommand(request.message->text); - cmd += "'"; + string cmd = "notify-send dchat "; + cmd += escapeCommandArg(request.message->text); system(cmd.c_str()); } } |