From 1a0e6b0be3f901462d4376c882f1dc7304bedaf9 Mon Sep 17 00:00:00 2001 From: Adam Date: Fri, 15 Mar 2013 12:27:08 -0500 Subject: Allow autokicking real names, extbans, and channels --- include/modes.h | 4 ++-- include/protocol.h | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/modes.h b/include/modes.h index a9957e332..bb329b5b4 100644 --- a/include/modes.h +++ b/include/modes.h @@ -401,11 +401,11 @@ class CoreExport Entry Anope::string mask; public: unsigned short cidr_len; - Anope::string nick, user, host; + Anope::string nick, user, host, real; /** Constructor * @param mode What mode this host is for, can be empty for unknown/no mode - * @param host A full nick!ident@host/cidr mask + * @param host A full or poartial nick!ident@host/cidr#real name mask */ Entry(const Anope::string &mode, const Anope::string &host); diff --git a/include/protocol.h b/include/protocol.h index 385448662..9ff0167c9 100644 --- a/include/protocol.h +++ b/include/protocol.h @@ -222,6 +222,7 @@ class CoreExport IRCDProto : public Service virtual bool IsChannelValid(const Anope::string &); virtual bool IsIdentValid(const Anope::string &); virtual bool IsHostValid(const Anope::string &); + virtual bool IsExtbanValid(const Anope::string &) { return false; } }; class CoreExport MessageSource -- cgit