diff options
| author | 2015-01-24 15:02:25 +0100 | |
|---|---|---|
| committer | 2015-01-24 15:02:25 +0100 | |
| commit | 4d4306d8a91387baf642d6e4703f87246c688d2f (patch) | |
| tree | 10140e2c16461b311f2381c6e605d018f1176cc9 /src/users.cpp | |
| parent | m_ircv3 Implement WriteNeighboursWithExt() using User::ForEachNeighbor() (diff) | |
| download | inspircd++-4d4306d8a91387baf642d6e4703f87246c688d2f.tar.gz inspircd++-4d4306d8a91387baf642d6e4703f87246c688d2f.tar.bz2 inspircd++-4d4306d8a91387baf642d6e4703f87246c688d2f.zip | |
Remove needless checks from User::WriteCommon()/WriteCommonRaw()
Diffstat (limited to 'src/users.cpp')
| -rw-r--r-- | src/users.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/users.cpp b/src/users.cpp index 4dffe6056..12243c64b 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -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); } |
