diff options
| author | Adam <Adam@anope.org> | 2010-12-13 16:36:36 -0500 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2010-12-13 16:36:36 -0500 |
| commit | 49d3c97b677f319460146803004066dfd3d19089 (patch) | |
| tree | e8408660141f958bdc9cfac8fbad4a67553e0a40 /include/extern.h | |
| parent | 97467cb2c85832c10da11364e0517ed3c4453ddb (diff) | |
Bug #1079 - Don't use users real host and IPs when matching against
bans and excepts, except when a user is unbanning themselves, in an
attempt to prevent people from gaining other users IPs.
This removes support for Unreal and Bahamuts SVSMode -b because
it will unban users by real host and IP.
Diffstat (limited to 'include/extern.h')
| -rw-r--r-- | include/extern.h | 2 |
1 files changed, 1 insertions, 1 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; |
