summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_auditorium.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_auditorium.cpp b/src/modules/m_auditorium.cpp
index 1538c202b..f6b1ff3d8 100644
--- a/src/modules/m_auditorium.cpp
+++ b/src/modules/m_auditorium.cpp
@@ -120,8 +120,8 @@ class ModuleAuditorium : public Module
{
silent = true;
/* Send silenced event only to the user being kicked and the user doing the kick */
- source->WriteFrom(source, "KICK %s %s %s", channel->name, user->nick, reason.c_str());
- user->WriteFrom(source, "KICK %s %s %s", channel->name, user->nick, reason.c_str());
+ source->WriteFrom(source, "KICK %s %s %s", chan->name, user->nick, reason.c_str());
+ user->WriteFrom(source, "KICK %s %s %s", chan->name, user->nick, reason.c_str());
}
}