diff options
author | Adam <Adam@Anope.org> | 2010-05-24 23:36:40 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2010-06-18 21:04:05 -0400 |
commit | 2fba686904e6f78ebab35df171c5757afeebf05d (patch) | |
tree | 523782bccc479606206f271cd6708b2f70fe8278 /src/users.c | |
parent | 3a2c2a916a26f4fa1844e71a9f1c2fc25337fd2b (diff) |
Burned slist, rewrote operservs XLine code
Diffstat (limited to 'src/users.c')
-rw-r--r-- | src/users.c | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/src/users.c b/src/users.c index 4311f8d33..946f70f6a 100644 --- a/src/users.c +++ b/src/users.c @@ -849,20 +849,11 @@ User *do_nick(const char *source, const char *nick, const char *username, const if (MOD_RESULT == EVENT_STOP) return finduser(nick); - check_akill(nick, username, host, vhost, ipbuf); - - if (ircd->sgline) - check_sgline(nick, realname); - - if (ircd->sqline) - check_sqline(nick, 0); - - if (ircd->szline && ircd->nickip) - check_szline(nick, ipbuf); - if (Config.LimitSessions && !serv->IsULined()) add_session(nick, host, ipbuf); + XLineManager::CheckAll(user); + /* User is no longer connected, return */ if (!finduser(nick)) return NULL; @@ -937,7 +928,7 @@ User *do_nick(const char *source, const char *nick, const char *username, const if (ircd->sqline) { - if (!is_oper(user) && check_sqline(user->nick.c_str(), 1)) + if (!is_oper(user) && SQLine->Check(user)) return NULL; } } |