summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/modules/m_swhois.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_swhois.cpp b/src/modules/m_swhois.cpp
index db5d60cd7..8276f610f 100644
--- a/src/modules/m_swhois.cpp
+++ b/src/modules/m_swhois.cpp
@@ -208,11 +208,11 @@ class ModuleSWhois : public Module
{
user->Shrink("swhois");
delete text;
-
- if (extdata.empty())
- return; // XXX does the command parser even allow sending blank mdata? it needs to here! -- w00t
}
+ if (extdata.empty())
+ return; // XXX does the command parser even allow sending blank mdata? it needs to here! -- w00t
+
text2 = new std::string(extdata);
dest->Extend("swhois", text);
}