diff options
| author | Adam <Adam@anope.org> | 2013-03-15 12:27:08 -0500 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2013-03-15 12:27:08 -0500 |
| commit | 1a0e6b0be3f901462d4376c882f1dc7304bedaf9 (patch) | |
| tree | ff20ba105783b7c79a14a257f79cabb5f3d63d0d /include | |
| parent | 81c89bb7080f17a4bdfd8912863285713e0822df (diff) | |
Allow autokicking real names, extbans, and channels
Diffstat (limited to 'include')
| -rw-r--r-- | include/modes.h | 4 | ||||
| -rw-r--r-- | include/protocol.h | 1 |
2 files changed, 3 insertions, 2 deletions
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 |
