X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fusers.cpp;h=4dbb73a1f55ef7e4e5492784d1165d283c832c53;hb=a92b6b7af463135ed5f84f0ed640b9416db684ef;hp=685ef9743c9024ce93d931c0d0c444496ef2b9bd;hpb=d3b82b2f7f75f56c318830ad0cc0c6e3d3b4a7c6;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/users.cpp b/src/users.cpp index 685ef9743..4dbb73a1f 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -1398,6 +1398,8 @@ void User::DoHostCycle(const std::string &quitline) FOREACH_MOD(I_OnBuildNeighborList,OnBuildNeighborList(this, include_c, exceptions)); + // Users shouldn't see themselves quitting when host cycling + exceptions.erase(this); for (std::map::iterator i = exceptions.begin(); i != exceptions.end(); ++i) { LocalUser* u = IS_LOCAL(i->first);