summaryrefslogtreecommitdiff
path: root/src/modules/m_auditorium.cpp
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2014-01-25 12:40:21 +0100
committerAttila Molnar <attilamolnar@hush.com>2014-01-25 12:40:21 +0100
commit1db0e984be491125d8f954aa22f17cad1d4c453f (patch)
treee60fea152f40c36b975472725f40eb89c76cf7fd /src/modules/m_auditorium.cpp
parentf3f8eae2cd68d8ce2c57f5df58db5833fb659cf5 (diff)
Add Channel* parameter to OnSendWhoLine
Diffstat (limited to 'src/modules/m_auditorium.cpp')
-rw-r--r--src/modules/m_auditorium.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/modules/m_auditorium.cpp b/src/modules/m_auditorium.cpp
index 62aa7ec75..21afcabad 100644
--- a/src/modules/m_auditorium.cpp
+++ b/src/modules/m_auditorium.cpp
@@ -152,9 +152,8 @@ class ModuleAuditorium : public Module
}
}
- void OnSendWhoLine(User* source, const std::vector<std::string>& params, User* user, std::string& line) CXX11_OVERRIDE
+ void OnSendWhoLine(User* source, const std::vector<std::string>& params, User* user, Channel* channel, std::string& line) CXX11_OVERRIDE
{
- Channel* channel = ServerInstance->FindChan(params[0]);
if (!channel)
return;
Membership* memb = channel->GetUser(user);