summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-03-28 16:32:56 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-03-28 16:32:56 +0000
commitfe7aa4267324f23d3fbd6c7adb642927896b3305 (patch)
treede36df0dfef5d009359b058fe91fb8e937401275
parentd85e091d508de8749d624e755c45b4d302b79db0 (diff)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9201 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/modules/m_swhois.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_swhois.cpp b/src/modules/m_swhois.cpp
index 8276f610f..350ebd648 100644
--- a/src/modules/m_swhois.cpp
+++ b/src/modules/m_swhois.cpp
@@ -206,14 +206,14 @@ class ModuleSWhois : public Module
std::string* text;
if (dest->GetExt("swhois", text))
{
- user->Shrink("swhois");
+ dest->Shrink("swhois");
delete text;
}
if (extdata.empty())
return; // XXX does the command parser even allow sending blank mdata? it needs to here! -- w00t
- text2 = new std::string(extdata);
+ text = new std::string(extdata);
dest->Extend("swhois", text);
}
}