From 1253c70e0682fa1490c99c3d2869049a0e3fa2e0 Mon Sep 17 00:00:00 2001 From: Adam Date: Mon, 21 Apr 2014 17:23:09 -0400 Subject: Constify message source for OnChannelMode(Un)Set --- include/channels.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/channels.h') diff --git a/include/channels.h b/include/channels.h index 69d7ee787..e676bb924 100644 --- a/include/channels.h +++ b/include/channels.h @@ -147,7 +147,7 @@ class CoreExport Channel : public Base, public Extensible * @param param The param * @param enforce_mlock true if mlocks should be enforced, false to override mlock */ - void SetModeInternal(MessageSource &source, ChannelMode *cm, const Anope::string ¶m = "", bool enforce_mlock = true); + void SetModeInternal(const MessageSource &source, ChannelMode *cm, const Anope::string ¶m = "", bool enforce_mlock = true); /** Remove a mode internally on a channel, this is not sent out to the IRCd * @param setter The Setter @@ -155,7 +155,7 @@ class CoreExport Channel : public Base, public Extensible * @param param The param * @param enforce_mlock true if mlocks should be enforced, false to override mlock */ - void RemoveModeInternal(MessageSource &source, ChannelMode *cm, const Anope::string ¶m = "", bool enforce_mlock = true); + void RemoveModeInternal(const MessageSource &source, ChannelMode *cm, const Anope::string ¶m = "", bool enforce_mlock = true); /** Set a mode on a channel * @param bi The client setting the modes -- cgit