1
0
mirror of https://github.com/anope/anope.git synced 2026-07-05 21:13:13 +02:00

BUILD : 1.7.7 (541) BUGS : 274, 281 NOTES : IRCops are not killed on sqline/sgline when set KillOnSQline or KillOnSGline are enabled, made it so uline servers are except from NOJOIN settings

git-svn-id: svn://svn.anope.org/anope/trunk@541 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@394 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b
2005-01-16 18:35:51 +00:00
parent bafd62e477
commit 4bf0358e8f
4 changed files with 22 additions and 7 deletions
+2
View File
@@ -1,6 +1,8 @@
Anope Version S V N
-------------------
Provided by Anope Dev. <dev@anope.org> - 2005
01/16 A Ulines Servers are now except from NOJOIN bans [#281]
01/16 F IRCops are now except from KillonSQline and KillonSGline [#274]
01/16 F BS Badwords had a false positives if BSCaseSensitive wass enabled [#277]
01/15 F Updated typo in example.conf. [#279]
+4
View File
@@ -1672,6 +1672,10 @@ int check_kick(User * user, char *chan)
}
}
if (is_ulined(user->server->name)) {
return 0;
}
if (check_access(user, ci, CA_NOJOIN)) {
get_idealban(ci, user, mask, sizeof(mask));
reason = getstring(user->na, CHAN_NOT_ALLOWED_TO_JOIN);
+10 -6
View File
@@ -2599,12 +2599,14 @@ int add_sgline(User * u, char *mask, const char *by, const time_t expires,
anope_cmd_sgline(entry->mask, entry->reason);
if (KillonSGline && !ircd->sglineenforce) {
snprintf(buf, (BUFSIZE - 1), "G-Lined: %s", entry->reason);
u2 = firstuser();
while (u2) {
next = nextuser();
if (match_wild_nocase(entry->mask, u2->realname)) {
snprintf(buf, (BUFSIZE - 1), "G-Lined: %s", entry->reason);
kill_user(ServerName, u2->nick, buf);
if (!is_oper(u2)) {
if (match_wild_nocase(entry->mask, u2->realname)) {
kill_user(ServerName, u2->nick, buf);
}
}
u2 = next;
}
@@ -3070,12 +3072,14 @@ int add_sqline(User * u, char *mask, const char *by, const time_t expires,
sqline(entry->mask, entry->reason);
if (KillonSQline) {
snprintf(buf, (BUFSIZE - 1), "Q-Lined: %s", entry->reason);
u2 = firstuser();
while (u2) {
next = nextuser();
if (match_wild_nocase(entry->mask, u2->nick)) {
snprintf(buf, (BUFSIZE - 1), "Q-Lined: %s", entry->reason);
kill_user(ServerName, u2->nick, buf);
if (!is_oper(u2)) {
if (match_wild_nocase(entry->mask, u2->nick)) {
kill_user(ServerName, u2->nick, buf);
}
}
u2 = next;
}
+6 -1
View File
@@ -8,10 +8,15 @@
VERSION_MAJOR="1"
VERSION_MINOR="7"
VERSION_PATCH="7"
VERSION_BUILD="540"
VERSION_BUILD="541"
# $Log$
#
# BUILD : 1.7.7 (541)
# BUGS : 274, 281
# NOTES : IRCops are not killed on sqline/sgline when set KillOnSQline or KillOnSGline are enabled, made it so uline
# servers are except from NOJOIN settings
#
# BUILD : 1.7.7 (540)
# BUGS : 277
# NOTES : BotServ Badwords (START) would return a false positivie when BSCaseSensitive is enabled