diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/extern.h | 2 | ||||
-rw-r--r-- | include/services.h | 5 |
2 files changed, 3 insertions, 4 deletions
diff --git a/include/extern.h b/include/extern.h index c30914c9e..59d0c238e 100644 --- a/include/extern.h +++ b/include/extern.h @@ -29,7 +29,7 @@ E IRCdMessage *ircdmessage; E void kill_user(const Anope::string &source, User *user, const Anope::string &reason); E bool bad_password(User *u); -E void common_unban(ChannelInfo *ci, User *u); +E void common_unban(ChannelInfo *ci, User *u, bool full = false); E BotInfo *BotServ; E BotInfo *ChanServ; diff --git a/include/services.h b/include/services.h index 75aa4905c..645afc911 100644 --- a/include/services.h +++ b/include/services.h @@ -441,7 +441,6 @@ struct IRCDVar int join2msg; /* Join 2 Message */ int chansqline; /* Supports Channel Sqlines */ int quitonkill; /* IRCD sends QUIT when kill */ - int svsmode_unban; /* svsmode can be used to unban */ int vident; /* Supports vidents */ int svshold; /* Supports svshold */ int tsonmode; /* Timestamp on mode changes */ @@ -786,9 +785,10 @@ class Entry : public Flags<EntryType> /** Check if this entry matches a user * @param u The user + * @param full True to match against a users real host and IP * @return true on match */ - bool Matches(User *u) const; + bool Matches(User *u, bool full = false) const; }; /*************************************************************************/ @@ -968,7 +968,6 @@ class CoreExport IRCDProto virtual void SendSZLineDel(const XLine *) { } virtual void SendSZLine(const XLine *) { } virtual void SendSGLine(const XLine *) { } - virtual void SendBanDel(const Channel *, const Anope::string &) { } virtual void SendSVSModeChan(const Channel *, const Anope::string &, const Anope::string &) { } virtual void SendUnregisteredNick(const User *) { } virtual void SendCTCP(const BotInfo *bi, const Anope::string &dest, const char *fmt, ...); |