diff options
-rw-r--r-- | src/modules/m_knock.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/m_knock.cpp b/src/modules/m_knock.cpp index 6023da0ec..b14b4f610 100644 --- a/src/modules/m_knock.cpp +++ b/src/modules/m_knock.cpp @@ -81,7 +81,9 @@ class ModuleKnock : public Module temp2 = temp2 + temp1 + " "; } if (temp2.length()) + { output = temp2.substr(0,temp2.length()-1) + std::string(" KNOCK") + } else output = output + std::string(" KNOCK"); } |