summaryrefslogtreecommitdiff
path: root/modules/m_helpchan.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2014-04-21 17:23:09 -0400
committerAdam <Adam@anope.org>2014-04-21 17:23:09 -0400
commit1253c70e0682fa1490c99c3d2869049a0e3fa2e0 (patch)
tree0e551e2854bcb4658c912001078b688ac1ad970e /modules/m_helpchan.cpp
parent7286c2b90c0844d978cb498f656b36386b688024 (diff)
Constify message source for OnChannelMode(Un)Set
Diffstat (limited to 'modules/m_helpchan.cpp')
-rw-r--r--modules/m_helpchan.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/m_helpchan.cpp b/modules/m_helpchan.cpp
index 07c9ff142..31009091d 100644
--- a/modules/m_helpchan.cpp
+++ b/modules/m_helpchan.cpp
@@ -16,7 +16,7 @@ class HelpChannel : public Module
{
}
- EventReturn OnChannelModeSet(Channel *c, MessageSource &, ChannelMode *mode, const Anope::string &param) override
+ EventReturn OnChannelModeSet(Channel *c, const MessageSource &, ChannelMode *mode, const Anope::string &param) override
{
if (mode->name == "OP" && c && c->ci && c->name.equals_ci(Config->GetModule(this)->Get<const Anope::string>("helpchannel")))
{