diff options
| author | 2021-05-08 15:59:32 +0100 | |
|---|---|---|
| committer | 2021-05-08 15:59:32 +0100 | |
| commit | 5ec128be872384d59cc396e96ab3454c5c2ac4e5 (patch) | |
| tree | 5f0dd40f3c1212722b2977327e8c4d72f8856283 /include | |
| parent | Move channel logic from InspIRCd to the new ChannelManager class. (diff) | |
Constify ChannelManager::Find.
Diffstat (limited to 'include')
| -rw-r--r-- | include/channelmanager.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/channelmanager.h b/include/channelmanager.h index f149fbc09..172028be6 100644 --- a/include/channelmanager.h +++ b/include/channelmanager.h @@ -43,7 +43,7 @@ class CoreExport ChannelManager * @param channel The name of the channel to look up. * @return If the channel was found then a pointer to a Channel object; otherwise, nullptr. */ - Channel* Find(const std::string& channel); + Channel* Find(const std::string& channel) const; /** Retrieves a map containing all channels keyed by the channel name. */ ChannelMap& GetChans() { return channels; } |
