diff options
author | Adam <Adam@anope.org> | 2011-04-25 03:16:57 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2011-05-16 04:07:56 -0400 |
commit | 076ebafa1b4cc935c466c615b94eaac415af9a67 (patch) | |
tree | dbc8b0f9e7b6f954569c13ad35598f5ebe8a081d /src/channels.cpp | |
parent | 6922bd239c778e8f6f2081476ce20b9426c515ad (diff) |
Moved some global functions to be member functions and misc cleanup
Diffstat (limited to 'src/channels.cpp')
-rw-r--r-- | src/channels.cpp | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/channels.cpp b/src/channels.cpp index 29e34cfaf..1c852aae2 100644 --- a/src/channels.cpp +++ b/src/channels.cpp @@ -1168,23 +1168,6 @@ void chan_set_correct_modes(User *user, Channel *c, int give_modes) /*************************************************************************/ -/** Set modes on every channel - * This overrides mlock on channels - * @param bi The bot to send the modes from - * @param modes The modes - */ -void MassChannelModes(BotInfo *bi, const Anope::string &modes) -{ - for (channel_map::const_iterator it = ChannelList.begin(), it_end = ChannelList.end(); it != it_end; ++it) - { - Channel *c = it->second; - - if (c->bouncy_modes) - return; - c->SetModes(bi, false, "%s", modes.c_str()); - } -} - static const Anope::string EntryFlagString[] = { "ENTRYTYPE_NONE", "ENTRYTYPE_CIDR", "ENTRYTYPE_NICK_WILD", "ENTRYTYPE_NICK", "ENTRYTYPE_USER_WILD", "ENTRYTYPE_USER", "ENTRYTYPE_HOST_WILD", "ENTRYTYPE_HOST", "" }; /** Constructor |