summaryrefslogtreecommitdiff
path: root/src/server/connection.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/connection.cc')
-rw-r--r--src/server/connection.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/server/connection.cc b/src/server/connection.cc
index 1d87517..499b5a0 100644
--- a/src/server/connection.cc
+++ b/src/server/connection.cc
@@ -207,8 +207,10 @@ Response Connection::processRequest(char* buf) {
CHECK_ARGUMENTS_MIN_LENGTH(1)
std::string& command = arguments[0];
- auto commandArguments = std::vector<std::string>();
+ if (server_->verbose())
+ mylog << "received " << command << " command";
+ auto commandArguments = std::vector<std::string>();
auto argumentsSlice = std::vector<std::string>(arguments.begin()+1, arguments.end());
p18::CommandInput input{&argumentsSlice};