summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-10-12 13:20:47 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-10-12 13:20:47 +0000
commit7f1d3c8b3297d8c47b01fe8ebae0faf4b8efb3dc (patch)
treeddae5ca6c8e2d5285be726c1aadc6ee5d23fcd63 /src
parentf741fa6e3c57107a88f1752dbed06af850a2525d (diff)
Fix WriteCommon when used on remote nicks
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11852 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/users.cpp6
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)