diff options
-rw-r--r-- | src/users.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/users.cpp b/src/users.cpp index ba3b9bec8..1cf21a029 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -1200,7 +1200,7 @@ void User::WriteCommon(const char* text, ...) char textbuffer[MAXBUF]; va_list argsPtr; - if (this->registered != REG_ALL || !IS_LOCAL(this) || quitting) + if (this->registered != REG_ALL || quitting) return; int len = snprintf(textbuffer,MAXBUF,":%s ",this->GetFullHost().c_str()); @@ -1217,7 +1217,7 @@ void User::WriteCommonExcept(const char* text, ...) char textbuffer[MAXBUF]; va_list argsPtr; - if (this->registered != REG_ALL || !IS_LOCAL(this) || quitting) + if (this->registered != REG_ALL || quitting) return; int len = snprintf(textbuffer,MAXBUF,":%s ",this->GetFullHost().c_str()); @@ -1231,7 +1231,7 @@ void User::WriteCommonExcept(const char* text, ...) void User::WriteCommonRaw(const std::string &line, bool include_self) { - if (this->registered != REG_ALL || !IS_LOCAL(this) || quitting) + if (this->registered != REG_ALL || quitting) return; if (!already_sent) |