diff options
author | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-03-28 14:45:12 +0000 |
---|---|---|
committer | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-03-28 14:45:12 +0000 |
commit | 34f7d0bc1b9bcd8f358a8abb4f798358d14b58cb (patch) | |
tree | eb96127cbba11a4323bfa4bd9de90423bcf51b47 | |
parent | 256fd772c6441f0000ee44e79f78b062e54ef52d (diff) |
Don't desync when blanking metadata with remote servers (seperate bug)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9199 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r-- | src/modules/m_swhois.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/modules/m_swhois.cpp b/src/modules/m_swhois.cpp index 10e001f81..db5d60cd7 100644 --- a/src/modules/m_swhois.cpp +++ b/src/modules/m_swhois.cpp @@ -208,6 +208,9 @@ 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 } text2 = new std::string(extdata); |