summaryrefslogtreecommitdiff
path: root/include/channels.h
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2010-10-04 13:59:30 -0400
committerAdam <Adam@anope.org>2010-10-04 13:59:30 -0400
commitcf98cd3e06e4de0f9902824b0ef8239e947c5b6a (patch)
treefad06aca79be531d306eb8bf096e0160d6323f9c /include/channels.h
parent632f8df76b31f1300e7ac72890567834eac5511e (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.h7
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