]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/users.cpp
Merge branch 'master+foreachneighbor'
[user/henk/code/inspircd.git] / src / users.cpp
index 4dffe6056a8a3b25131aacbcd59df342b89f1a60..12243c64b074df57ab7442f4b5e8a782d79c5858 100644 (file)
@@ -866,9 +866,6 @@ namespace
 
 void User::WriteCommon(const char* text, ...)
 {
-       if (this->registered != REG_ALL || quitting)
-               return;
-
        std::string textbuffer;
        VAFORMAT(textbuffer, text, text);
        textbuffer = ":" + this->GetFullHost() + " " + textbuffer;
@@ -877,9 +874,6 @@ void User::WriteCommon(const char* text, ...)
 
 void User::WriteCommonRaw(const std::string &line, bool include_self)
 {
-       if (this->registered != REG_ALL || quitting)
-               return;
-
        WriteCommonRawHandler handler(line);
        ForEachNeighbor(handler, include_self);
 }