diff options
Diffstat (limited to 'src/channels.cpp')
-rw-r--r-- | src/channels.cpp | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/src/channels.cpp b/src/channels.cpp index 84870b1e9..8b3f053b1 100644 --- a/src/channels.cpp +++ b/src/channels.cpp @@ -587,18 +587,6 @@ void Channel::SetMode(BotInfo *bi, ChannelModeName Name, const Anope::string &pa SetMode(bi, ModeManager::FindChannelModeByName(Name), param, EnforceMLock); } -/** - * Set a mode on a channel - * @param bi The client setting the modes - * @param Mode The mode - * @param param Optional param arg for the mode - * @param EnforceMLock true if mlocks should be enforced, false to override mlock - */ -void Channel::SetMode(BotInfo *bi, char Mode, const Anope::string ¶m, bool EnforceMLock) -{ - SetMode(bi, ModeManager::FindChannelModeByChar(Mode), param, EnforceMLock); -} - /** Remove a mode from a channel * @param bi The client setting the modes * @param cm The mode @@ -649,18 +637,6 @@ void Channel::RemoveMode(BotInfo *bi, ChannelModeName Name, const Anope::string RemoveMode(bi, ModeManager::FindChannelModeByName(Name), param, EnforceMLock); } -/** - * Remove a mode from a channel - * @param bi The client setting the modes - * @param Mode The mode - * @param param Optional param arg for the mode - * @param EnforceMLock true if mlocks should be enforced, false to override mlock - */ -void Channel::RemoveMode(BotInfo *bi, char Mode, const Anope::string ¶m, bool EnforceMLock) -{ - RemoveMode(bi, ModeManager::FindChannelModeByChar(Mode), param, EnforceMLock); -} - /** Get a param from the channel * @param Name The mode * @param Target a string to put the param into |