diff options
author | Peter Powell <petpow@saberuk.com> | 2017-07-12 14:25:28 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-12 14:25:28 +0100 |
commit | f471083cd0519d47c7c7a09029813ede41994f7b (patch) | |
tree | 26d756d60526de438b501fd3da71bffe9e551455 /src/modules/m_hostcycle.cpp | |
parent | 2f64744dd81cd956780160e8568a42cf952df6c8 (diff) | |
parent | c0aba5b728b0a921d95ec120aa638dab1520b42f (diff) |
Merge pull request #1337 from SaberUK/master+merge
Merge v2.0.23 and v2.0.24 into master.
Diffstat (limited to 'src/modules/m_hostcycle.cpp')
-rw-r--r-- | src/modules/m_hostcycle.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/m_hostcycle.cpp b/src/modules/m_hostcycle.cpp index b33c101ef..621f06a27 100644 --- a/src/modules/m_hostcycle.cpp +++ b/src/modules/m_hostcycle.cpp @@ -40,6 +40,8 @@ class ModuleHostCycle : public Module FOREACH_MOD(OnBuildNeighborList, (user, include_chans, exceptions)); + // Users shouldn't see themselves quitting when host cycling + exceptions.erase(user); for (std::map<User*,bool>::iterator i = exceptions.begin(); i != exceptions.end(); ++i) { LocalUser* u = IS_LOCAL(i->first); |