summaryrefslogtreecommitdiff
path: root/src/modules/extra/m_ziplink.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/extra/m_ziplink.cpp')
-rw-r--r--src/modules/extra/m_ziplink.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/extra/m_ziplink.cpp b/src/modules/extra/m_ziplink.cpp
index 1e9c32d26..e0b0afca6 100644
--- a/src/modules/extra/m_ziplink.cpp
+++ b/src/modules/extra/m_ziplink.cpp
@@ -419,13 +419,13 @@ class ModuleZLib : public Module
return 0;
else
{
- session->outbuf = "";
+ session->outbuf.clear();
return 0;
}
}
else
{
- session->outbuf = "";
+ session->outbuf.clear();
return 0;
}
}
@@ -441,7 +441,7 @@ class ModuleZLib : public Module
if (session->status == IZIP_OPEN)
{
session->status = IZIP_CLOSED;
- session->outbuf = "";
+ session->outbuf.clear();
delete session->inbuf;
}
}