summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorpeavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7>2009-02-14 19:57:35 +0000
committerpeavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7>2009-02-14 19:57:35 +0000
commit60ab529ad481d5727991901ab0252d84164ccdc0 (patch)
treede5fcce36378a3db31629639f3a4148bc43b0720 /src
parent6ea7f020aae20b46f181b05ff506989c4b5087cd (diff)
Le oops, got wrong sender on kick.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11104 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_auditorium.cpp2
1 files changed, 1 insertions, 1 deletions
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);
}
}