diff options
| author | 2008-10-03 18:19:05 +0000 | |
|---|---|---|
| committer | 2008-10-03 18:19:05 +0000 | |
| commit | db894013238ff9b0d60f31c7c57220645aef7af3 (patch) | |
| tree | 4c6709fe1d870afe97840986afcf311c0829c6e7 /src/users.cpp | |
| parent | Comments here too (diff) | |
| download | inspircd++-db894013238ff9b0d60f31c7c57220645aef7af3.tar.gz inspircd++-db894013238ff9b0d60f31c7c57220645aef7af3.tar.bz2 inspircd++-db894013238ff9b0d60f31c7c57220645aef7af3.zip | |
Whooops! thanks psychon
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10619 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/users.cpp')
| -rw-r--r-- | src/users.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/users.cpp b/src/users.cpp index 386a64b82..b53dcaca3 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -1609,7 +1609,7 @@ bool User::ChangeDisplayedHost(const char* shost) int MOD_RESULT = 0; FOREACH_RESULT(I_OnHostCycle, OnHostCycle(this)); - if (this->ServerInstance->Config->CycleHosts) + if (this->ServerInstance->Config->CycleHosts && !MOD_RESULT) this->WriteCommonExcept("QUIT :Changing hosts"); /* Fix by Om: User::dhost is 65 long, this was truncating some long hosts */ @@ -1642,7 +1642,7 @@ bool User::ChangeIdent(const char* newident) int MOD_RESULT = 0; FOREACH_RESULT(I_OnHostCycle, OnHostCycle(this)); - if (this->ServerInstance->Config->CycleHosts) + if (this->ServerInstance->Config->CycleHosts && !MOD_RESULT) this->WriteCommonExcept("%s","QUIT :Changing ident"); this->ident.assign(newident, 0, ServerInstance->Config->Limits.IdentMax + 1); |
