From 60ab529ad481d5727991901ab0252d84164ccdc0 Mon Sep 17 00:00:00 2001 From: peavey Date: Sat, 14 Feb 2009 19:57:35 +0000 Subject: Le oops, got wrong sender on kick. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11104 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_auditorium.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/modules/m_auditorium.cpp b/src/modules/m_auditorium.cpp index a6b1c2d0a..ce6a582fd 100644 --- a/src/modules/m_auditorium.cpp +++ b/src/modules/m_auditorium.cpp @@ -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); } } -- cgit v1.2.3