]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_channames.cpp
allow channels starting with ## in m_banredirect.cpp, fixes bug #921 reported by...
[user/henk/code/inspircd.git] / src / modules / m_channames.cpp
index c137d0e716a9bde936348e46b096f325a3987dae..40746af2cab80969da4d52dc0a72e058f47ba12a 100644 (file)
@@ -82,7 +82,7 @@ class ModuleChannelNames : public Module
                        const UserMembList* users = c->GetUsers();
                        for(UserMembCIter j = users->begin(); j != users->end(); ++j)
                                if (IS_LOCAL(j->first))
-                                       c->ServerKickUser(j->first, "Channel name no longer valid", NULL);
+                                       c->KickUser(ServerInstance->FakeClient, j->first, "Channel name no longer valid");
                }
                badchan = false;
        }