summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules')
-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);
}
}