summaryrefslogtreecommitdiff
path: root/src/actions.c
diff options
context:
space:
mode:
authordane dane@31f1291d-b8d6-0310-a050-a5561fc1590b <dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2006-03-01 15:20:15 +0000
committerdane dane@31f1291d-b8d6-0310-a050-a5561fc1590b <dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2006-03-01 15:20:15 +0000
commit902eedeb6f4b91dd652d1b66df7f9e18b58f8779 (patch)
treeb31694490d9eaf4f3ad17f9aeed4d967710197c2 /src/actions.c
parent4c6ce41202b4249d841eaa2ec4223a10c06201d1 (diff)
BUILD : 1.7.13 (986) BUGS : n/a NOTES : Propagated CHAN_X_INVALID to all languages and Changes.lang
git-svn-id: svn://svn.anope.org/anope/trunk@986 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@711 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/actions.c')
-rw-r--r--src/actions.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/actions.c b/src/actions.c
index c9ca020a0..50ff90981 100644
--- a/src/actions.c
+++ b/src/actions.c
@@ -168,14 +168,14 @@ void common_unban(ChannelInfo * ci, char *nick)
for the function. but won't prevent thus from clearing out
the bans against an IP address since the first would fail and
the second would match - TSL
- */
+ */
if (!matchfound) {
- if (match_userip(bans[i], u, host)) {
- anope_cmd_mode(whosends(ci), ci->name, "-b %s",
- bans[i]);
- av[2] = bans[i];
- do_cmode(whosends(ci), 3, av);
- }
+ if (match_userip(bans[i], u, host)) {
+ anope_cmd_mode(whosends(ci), ci->name, "-b %s",
+ bans[i]);
+ av[2] = bans[i];
+ do_cmode(whosends(ci), 3, av);
+ }
}
}
matchfound = 0;