summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-12-11 23:04:33 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-12-11 23:04:33 +0000
commit477a07bfb84c41b6fb86f0ebdd401841542c04b4 (patch)
treed6059de7cb82000282a4a06ce87b8cb5998459f1 /src/modules
parentb8e387510d7ce43b987e6f4ec45a187275752227 (diff)
Faster, stronger, ...err no, not the million dollar man.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5950 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-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 e5f9ab94c..062a6d8df 100644
--- a/src/modules/extra/m_ziplink.cpp
+++ b/src/modules/extra/m_ziplink.cpp
@@ -307,11 +307,11 @@ class ModuleZLib : public Module
total_in_compressed += readresult;
total_size += session->d_stream.total_out;
- readresult = session->d_stream.total_out;
total_in_uncompressed += session->d_stream.total_out;
}
buffer[total_size] = 0;
+ readresult = total_size;
}
return (readresult > 0);