summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-03-28 15:01:34 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-03-28 15:01:34 +0000
commitd85e091d508de8749d624e755c45b4d302b79db0 (patch)
tree46d90069bad31c16b2bb799653913653f99f7f75 /src/modules
parent34f7d0bc1b9bcd8f358a8abb4f798358d14b58cb (diff)
Wrong place probably
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9200 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-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);
}