summaryrefslogtreecommitdiff
path: root/include/channels.h
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2011-04-22 03:16:11 -0400
committerAdam <Adam@anope.org>2011-05-16 04:06:17 -0400
commitc8c23158a4ff74822d6c7d201dc53d879e3d91e8 (patch)
tree4bc9ae029691d5e7c03ebc1481683a010b733844 /include/channels.h
parent1782ce260c5bc214ec0b2e39257ab1371b68ae9c (diff)
Moved the core pseudo clients out into their own modules
Diffstat (limited to 'include/channels.h')
-rw-r--r--include/channels.h33
1 files changed, 1 insertions, 32 deletions
diff --git a/include/channels.h b/include/channels.h
index d0f899794..5d18a381f 100644
--- a/include/channels.h
+++ b/include/channels.h
@@ -12,38 +12,9 @@
typedef Anope::insensitive_map<Channel *> channel_map;
extern CoreExport channel_map ChannelList;
-struct UserData
-{
- UserData()
- {
- Clear();
- }
-
- virtual ~UserData() { }
-
- void Clear()
- {
- last_use = last_start = Anope::CurTime;
- lines = times = 0;
- lastline.clear();
- }
-
- /* Data validity */
- time_t last_use;
-
- /* for flood kicker */
- int16 lines;
- time_t last_start;
-
- /* for repeat kicker */
- Anope::string lastline;
- int16 times;
-};
-
-struct UserContainer
+struct UserContainer : public Extensible
{
User *user;
- UserData ud;
ChannelStatus *Status;
UserContainer(User *u) : user(u) { }
@@ -93,8 +64,6 @@ class CoreExport Channel : public Extensible, public Flags<ChannelFlag, 3>
Anope::string topic_setter; /* Who set the topic */
time_t topic_time; /* When the topic was set*/
- std::list<BanData *> bd;
-
time_t server_modetime; /* Time of last server MODE */
time_t chanserv_modetime; /* Time of last check_modes() */
int16 server_modecount; /* Number of server MODEs this second */