diff options
author | trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b <trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2004-11-28 06:10:17 +0000 |
---|---|---|
committer | trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b <trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2004-11-28 06:10:17 +0000 |
commit | f37314234168d48ea2dddba3a3b4b8fefadab8b3 (patch) | |
tree | d2a0f3dab7647c7b4b99ae7004002b242d20deff /src/users.c | |
parent | c55942927eccc7b3bf3e5aa742acdb737b4a8989 (diff) |
BUILD : 1.7.6 (463) BUGS : 192, 210, 222, 234 NOTES : 1. Removed +d references from the ptlink protocol code, since they do not timestamp the nicks 2. Memos sent as notification of receipt can not be cancelled. 3. Unreal3.2 supports SVSMODE -b on clearing bans 4. fixed do_kill() not remove the user from the user list 5. /os set sql [on|off] runtime sql toggle 6. Segfaults logged to the services log when DumpCore is disabled 7. fixed RUNGROUP not passed during build time 8. Exceptions now update if the limit is changed 9. Solid-IRCD support 10. Fixed TSMODE warnings when using FANTASY commands 11. Fixed read_int32 warnings (fixes compiling and running under cygwin) - Thats all..
git-svn-id: svn://svn.anope.org/anope/trunk@463 31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@317 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/users.c')
-rw-r--r-- | src/users.c | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/src/users.c b/src/users.c index 28ccaa9ae..ad17d40ad 100644 --- a/src/users.c +++ b/src/users.c @@ -17,7 +17,8 @@ #define HASH(nick) (((nick)[0]&31)<<5 | ((nick)[1]&31)) User *userlist[1024]; -int32 usercnt = 0, opcnt = 0, maxusercnt = 0; +int32 usercnt = 0, opcnt = 0; +uint32 maxusercnt = 0; time_t maxusertime; /*************************************************************************/ @@ -707,8 +708,9 @@ void do_quit(const char *source, int ac, char **av) merge_args(ac, av)); return; } - if (debug) + if (debug) { alog("debug: %s quits", source); + } if ((na = user->na) && (!(na->status & NS_VERBOTEN)) && (na->status & (NS_IDENTIFIED | NS_RECOGNIZED))) { na->last_seen = time(NULL); @@ -717,8 +719,9 @@ void do_quit(const char *source, int ac, char **av) na->last_quit = *av[0] ? sstrdup(av[0]) : NULL; } #ifndef STREAMLINED - if (LimitSessions) + if (LimitSessions) { del_session(user->host); + } #endif delete_user(user); } @@ -736,13 +739,15 @@ void do_kill(char *nick, char *msg) NickAlias *na; user = finduser(nick); - if (!user) + if (!user) { if (debug) { alog("debug: KILL of nonexistent nick: %s", nick); } - return; - if (debug) + return; + } + if (debug) { alog("debug: %s killed", nick); + } if ((na = user->na) && (!(na->status & NS_VERBOTEN)) && (na->status & (NS_IDENTIFIED | NS_RECOGNIZED))) { na->last_seen = time(NULL); @@ -752,8 +757,9 @@ void do_kill(char *nick, char *msg) } #ifndef STREAMLINED - if (LimitSessions) + if (LimitSessions) { del_session(user->host); + } #endif delete_user(user); } |