summaryrefslogtreecommitdiff
path: root/modules/commands/cs_set.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/commands/cs_set.cpp
parent7286c2b90c0844d978cb498f656b36386b688024 (diff)
Constify message source for OnChannelMode(Un)Set
Diffstat (limited to 'modules/commands/cs_set.cpp')
-rw-r--r--modules/commands/cs_set.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/commands/cs_set.cpp b/modules/commands/cs_set.cpp
index 4beb54070..4cef222a4 100644
--- a/modules/commands/cs_set.cpp
+++ b/modules/commands/cs_set.cpp
@@ -1310,7 +1310,7 @@ class CSSet : public Module
persist.Unset(ci);
}
- EventReturn OnChannelModeSet(Channel *c, MessageSource &setter, ChannelMode *mode, const Anope::string &param) override
+ EventReturn OnChannelModeSet(Channel *c, const MessageSource &setter, ChannelMode *mode, const Anope::string &param) override
{
if (c->ci)
{
@@ -1325,7 +1325,7 @@ class CSSet : public Module
return EVENT_CONTINUE;
}
- EventReturn OnChannelModeUnset(Channel *c, MessageSource &setter, ChannelMode *mode, const Anope::string &param) override
+ EventReturn OnChannelModeUnset(Channel *c, const MessageSource &setter, ChannelMode *mode, const Anope::string &param) override
{
if (mode->name == "PERM")
{