summaryrefslogtreecommitdiff
path: root/include/regchannel.h
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2013-06-01 14:55:45 -0400
committerAdam <Adam@anope.org>2013-06-01 14:55:45 -0400
commitb56e71ab14b020a3a01f1fbd183382083156aaf4 (patch)
tree0a08e0f848697c9c8c708e2e2156ce6256481fe2 /include/regchannel.h
parent6f45d7249785b056ed78916d33ec45045a43ed92 (diff)
Move CheckKick event to Channel and make os_forbid use it instead of kicking users in the join event, which does bad things
Diffstat (limited to 'include/regchannel.h')
-rw-r--r--include/regchannel.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/regchannel.h b/include/regchannel.h
index 08fae12b3..65d3236ef 100644
--- a/include/regchannel.h
+++ b/include/regchannel.h
@@ -393,12 +393,6 @@ class CoreExport ChannelInfo : public Serializable, public Extensible
*/
Anope::string GetMLockAsString(bool complete) const;
- /** Check whether a user is permitted to be on this channel
- * @param u The user
- * @return true if they are allowed, false if they aren't and were kicked
- */
- bool CheckKick(User *user);
-
/** Get the level for a privilege
* @param priv The privilege name
* @return the level