summaryrefslogtreecommitdiff
path: root/include/services.h
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2011-03-07 19:54:51 -0500
committerAdam <Adam@anope.org>2011-03-07 19:54:51 -0500
commit8eb23e7d489239e8af79c2d6da587cd1c3a81b5d (patch)
tree04bf54ceb46a4b18345cf4e01d8aeb11ccd52c07 /include/services.h
parent093b3d258e7b14d2aa057ca6113de034b5063efe (diff)
Added support for extbans
Diffstat (limited to 'include/services.h')
-rw-r--r--include/services.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/include/services.h b/include/services.h
index cc2bdf331..a0beabf2a 100644
--- a/include/services.h
+++ b/include/services.h
@@ -452,7 +452,7 @@ class BotInfo;
class ChannelInfo;
class Channel;
class Server;
-struct EList;
+class Entry;
struct Session;
#include "threadengine.h"
@@ -818,16 +818,18 @@ enum EntryType
class CoreExport Entry : public Flags<EntryType>
{
- Anope::string mask;
+ ChannelModeName modename;
public:
unsigned char cidr_len;
+ Anope::string mask;
Anope::string nick, user, host;
/** Constructor
* @param _host A full nick!ident@host/cidr mask
+ * @param mode What mode this host is for - can be CMODE_BEGIN for unknown/no mode
*/
- Entry(const Anope::string &_host);
+ Entry(ChannelModeName mode, const Anope::string &_host);
/** Get the banned mask for this entry
* @return The mask