From fe7aa4267324f23d3fbd6c7adb642927896b3305 Mon Sep 17 00:00:00 2001 From: w00t Date: Fri, 28 Mar 2008 16:32:56 +0000 Subject: git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9201 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_swhois.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/m_swhois.cpp') 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); } } -- cgit v1.2.3