]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Wrong place probably
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>
Fri, 28 Mar 2008 15:01:34 +0000 (15:01 +0000)
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>
Fri, 28 Mar 2008 15:01:34 +0000 (15:01 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9200 e03df62e-2008-0410-955e-edbf42e46eb7

src/modules/m_swhois.cpp

index db5d60cd722046aa0fc84b6a3f79e6a7e2387f7d..8276f610f1ae1e3a787c85534e9a138bf811de81 100644 (file)
@@ -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);
                }