aboutsummaryrefslogtreecommitdiffstats
path: root/src/channelmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/channelmanager.cpp')
-rw-r--r--src/channelmanager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/channelmanager.cpp b/src/channelmanager.cpp
index f8bd9ddb4..4b77cff14 100644
--- a/src/channelmanager.cpp
+++ b/src/channelmanager.cpp
@@ -41,9 +41,9 @@ bool ChannelManager::DefaultIsChannel(const std::string& channel)
return true;
}
-Channel* ChannelManager::Find(const std::string& channel)
+Channel* ChannelManager::Find(const std::string& channel) const
{
- ChannelMap::iterator iter = channels.find(channel);
+ ChannelMap::const_iterator iter = channels.find(channel);
if (iter == channels.end())
return nullptr;