diff options
| author | Adam <Adam@anope.org> | 2010-10-04 13:59:30 -0400 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2010-10-04 13:59:30 -0400 |
| commit | cf98cd3e06e4de0f9902824b0ef8239e947c5b6a (patch) | |
| tree | fad06aca79be531d306eb8bf096e0160d6323f9c /include/channels.h | |
| parent | 632f8df76b31f1300e7ac72890567834eac5511e (diff) | |
Changed the protocol handling system to use a vector of strings instead of C style arrays. Burned the old process/split_buf/memory.c code
Diffstat (limited to 'include/channels.h')
| -rw-r--r-- | include/channels.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/channels.h b/include/channels.h index 41b252165..d0b0b9dd5 100644 --- a/include/channels.h +++ b/include/channels.h @@ -248,6 +248,13 @@ class CoreExport Channel : public Extensible, public Flags<ChannelFlags> */ void SetModes(BotInfo *bi, bool EnforceMLock, const char *cmodes, ...); + /** Set a string of modes internally on a channel + * @param setter the setter (if it is a user) + * @param mode the modes + * @param EnforceMLock true to enforce mlock + */ + void SetModesInternal(User *setter, const Anope::string &modes, bool EnforceMLock = false); + /** Kick a user from a channel internally * @param source The sender of the kick * @param nick The nick being kicked |
