summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-05-02 17:25:33 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-05-02 17:25:33 +0000
commit5ff28570f16d72a868adb254c3dc8fe5279a68f5 (patch)
treea3e393e9561d3c80795480f1355c277a0f818d55
parente06a27ff0c52acbee3299614c2f60d2cb53a9e60 (diff)
Updated /stats T to include motds
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1281 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/inspircd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index ba5b9c572..8cf2d9dd0 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -2693,7 +2693,7 @@ void ShowMOTD(userrec *user)
WholeMOTD = WholeMOTD + std::string(":") + std::string(ServerName) + std::string(" 376 ") + std::string(user->nick) + std::string(" :End of message of the day.\r\n");
// only one write operation
send(user->fd,WholeMOTD.c_str(),WholeMOTD.length(),0);
-
+ statsSent += WholeMOTD.length();
}
void ShowRULES(userrec *user)