]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_hostcycle.cpp
Change SetClientIP to take a C++ string instead of a char array.
[user/henk/code/inspircd.git] / src / modules / m_hostcycle.cpp
index b33c101efb83b9eca3e4ed3f477a3adf085cb302..621f06a279e53e715feaa36c58a053603fd0e93c 100644 (file)
@@ -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);