summaryrefslogtreecommitdiff
path: root/src/modules/extra
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-12-12 00:17:36 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-12-12 00:17:36 +0000
commitfafa6af9cd7fbf62da71e3a97586f9be763db7ba (patch)
treedeab66d47c2202a2d06d711654abb0f8cf2853fc /src/modules/extra
parentd92a8cde88d6d119fa10ca52cf7f802a60323931 (diff)
Fix trivial broken stat counter
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5958 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/extra')
-rw-r--r--src/modules/extra/m_ziplink.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/extra/m_ziplink.cpp b/src/modules/extra/m_ziplink.cpp
index 479eaa12e..71f710551 100644
--- a/src/modules/extra/m_ziplink.cpp
+++ b/src/modules/extra/m_ziplink.cpp
@@ -318,6 +318,7 @@ class ModuleZLib : public Module
{
/* Add it to the frame queue */
session->inbuf->AddData(compr, readresult);
+ total_in_compressed += readresult;
/* Parse all completed frames */
int size = 0;
@@ -339,7 +340,6 @@ class ModuleZLib : public Module
inflateEnd(&session->d_stream);
- total_in_compressed += readresult;
total_size += session->d_stream.total_out;
total_in_uncompressed += session->d_stream.total_out;
offset += session->d_stream.total_out;