summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-04-03 21:53:58 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-04-03 21:53:58 +0000
commite000f51b99dc8b74fddfa0788240eb193a8d67cc (patch)
tree4a165ed8742d5550758f0875dde7f5ab86216ac4
parent87bba3d377a99fef1e22a96a8ac403c9aad6efbd (diff)
Fixed dumb typo
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@969 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/modules/m_knock.cpp2
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");
}