summaryrefslogtreecommitdiff
path: root/include/protocol.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/protocol.h')
-rw-r--r--include/protocol.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/protocol.h b/include/protocol.h
index 728988195..88bb94bfc 100644
--- a/include/protocol.h
+++ b/include/protocol.h
@@ -96,6 +96,9 @@ public:
/* If this IRCd has unique ids, whether the IDs and nicknames are ambiguous */
bool AmbiguousID = false;
+ /** Can we ask the server to unban a user? */
+ bool CanClearBans = false;
+
/* The maximum number of modes we are allowed to set with one MODE command */
unsigned MaxModes = 3;
@@ -271,6 +274,8 @@ public:
*/
virtual void SendOper(User *u);
+ virtual void SendClearBans(const MessageSource &user, Channel *c, User* u) { }
+
virtual void SendSASLMechanisms(std::vector<Anope::string> &) { }
virtual void SendSASLMessage(const SASL::Message &) { }
virtual void SendSVSLogin(const Anope::string &uid, NickAlias *na) { }