diff options
author | trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b <trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2004-11-22 03:45:32 +0000 |
---|---|---|
committer | trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b <trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2004-11-22 03:45:32 +0000 |
commit | 089557ed8743c7a6948d9277de17d51a7bd8db79 (patch) | |
tree | 14450bbad887f7df3be4e81bc4d21c9641dd15f9 /src/users.c | |
parent | 958bf6215255a14d11108adf39f5106e958dd9b5 (diff) |
BUILD : 1.7.6 (458) BUGS : N/A NOTES : Updated our SGLINE/SZLINE support to all ircd where avaiable, this fixes some issues as well 1. Unreal still doesnt do SGLINE well so its still disabled at this time 2. We now enforce SZLINE on ircd with NICKIP 3. Added check_szline() so we can check for szline matches 4. Ultimate3 (s)zline work as documented, which is AKILL without the user part
git-svn-id: svn://svn.anope.org/anope/trunk@458 31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@312 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/users.c')
-rw-r--r-- | src/users.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/users.c b/src/users.c index 4cc41561e..28ccaa9ae 100644 --- a/src/users.c +++ b/src/users.c @@ -466,16 +466,24 @@ User *do_nick(const char *source, char *nick, char *username, char *host, /* return NULL; */ } } + + /* SGLINE */ if (ircd->sgline) { - /* Next for SGLINEs */ if (check_sgline(nick, realname)) return NULL; } + + /* SQLINE */ if (ircd->sqline) { - /* And for SQLINEs */ if (check_sqline(nick, 0)) return NULL; } + + /* SZLINE */ + if (ircd->szline && ircd->nickip) { + if (check_szline(nick, ipbuf)) + return NULL; + } #ifndef STREAMLINED /* Now check for session limits */ if (LimitSessions && !add_session(nick, host)) |