]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Le oops, got wrong sender on kick.
authorpeavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7>
Sat, 14 Feb 2009 19:57:35 +0000 (19:57 +0000)
committerpeavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7>
Sat, 14 Feb 2009 19:57:35 +0000 (19:57 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11104 e03df62e-2008-0410-955e-edbf42e46eb7

src/modules/m_auditorium.cpp

index a6b1c2d0aa61d422c46dda4900c74dbf4c82f50d..ce6a582fd18c5101fbd64b0bdd0f773fc1301b42 100644 (file)
@@ -168,7 +168,7 @@ class ModuleAuditorium : public Module
                                chan->WriteAllExceptSender(source, false, chan->GetStatus(user) >= STATUS_OP ? 0 : '@', "KICK %s %s %s", chan->name.c_str(), user->nick.c_str(), reason.c_str());
                        if ((!ShowOps) || (chan->GetStatus(user) < STATUS_OP)) /* make sure the target gets the event */
                                user->WriteFrom(source, "KICK %s %s %s", chan->name.c_str(), user->nick.c_str(), reason.c_str());
-                       WriteOverride(user, chan, "KICK " + chan->name + " " + user->nick + " " + reason);
+                       WriteOverride(source, chan, "KICK " + chan->name + " " + user->nick + " " + reason);
                }
        }