summaryrefslogtreecommitdiff
path: root/include/services.h
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2011-05-01 18:41:54 -0400
committerAdam <Adam@anope.org>2011-05-01 18:41:54 -0400
commit4a3c64291f683823a1f8977c00f57b57af577f03 (patch)
tree53129214f4d48bc3a661d7e1a83c60576758cb46 /include/services.h
parent036b3c9053d663b0714690db33161e2df9e76782 (diff)
Fixed sometimes not removing nick masks from the access list when the group is dropped
Diffstat (limited to 'include/services.h')
-rw-r--r--include/services.h40
1 files changed, 0 insertions, 40 deletions
diff --git a/include/services.h b/include/services.h
index b83790355..6caa06d48 100644
--- a/include/services.h
+++ b/include/services.h
@@ -557,46 +557,6 @@ enum AccessLevel
ACCESS_QOP = 10000
};
-/* Channel info structures. Stored similarly to the nicks, except that
- * the second character of the channel name, not the first, is used to
- * determine the list. (Hashing based on the first character of the name
- * wouldn't get very far. ;) ) */
-
-/* Access levels for users. */
-struct ChanAccess
-{
- int16 level;
- Anope::string mask; /* Mask of the access entry */
- NickCore *nc; /* NC of the entry, if the entry is a valid nickcore */
- time_t last_seen;
- Anope::string creator;
-};
-
-/** Flags for auto kick
- */
-enum AutoKickFlag
-{
- /* Is by nick core, not mask */
- AK_ISNICK
-};
-
-const Anope::string AutoKickFlagString[] = { "AK_ISNICK", "" };
-
-/* AutoKick data. */
-class AutoKick : public Flags<AutoKickFlag>
-{
- public:
- AutoKick() : Flags<AutoKickFlag>(AutoKickFlagString) { }
- /* Only one of these can be in use */
- Anope::string mask;
- NickCore *nc;
-
- Anope::string reason;
- Anope::string creator;
- time_t addtime;
- time_t last_used;
-};
-
/** Flags for badwords
*/
enum BadWordType