diff options
-rw-r--r-- | src/commands.cpp | 2 | ||||
-rw-r--r-- | src/inspircd.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/commands.cpp b/src/commands.cpp index 1cdf214ab..0570db66d 100644 --- a/src/commands.cpp +++ b/src/commands.cpp @@ -2865,7 +2865,7 @@ void process_restricted_commands(char token,char* params,serverrec* source,serve // ? // ping case '?': - snprintf(buffer,MAXBUF,":%s !",CreateSum().c_str()); + snprintf(buffer,MAXBUF,"%s !",CreateSum().c_str()); reply->SendPacket(buffer,tcp_host); break; // ? diff --git a/src/inspircd.cpp b/src/inspircd.cpp index c9b271942..f11070d07 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -2943,7 +2943,7 @@ int InspIRCd(char** argv, int argc) for (int ctr = 0; ctr < msgs.size(); ctr++) { strlcpy(tcp_msg,msgs[ctr].c_str(),MAXBUF); - strlcpy(tcp_sum,msgs[ctr].c_str(),MAXBUF); + strlcpy(tcp_sum,sums[ctr].c_str(),MAXBUF); log(DEBUG,"Processing: %s",tcp_msg); if (!tcp_msg[0]) { |