Skip to content

Commit 9e9f61d

Browse files
author
drscholl
committed
expired nicks weren't removed from User_Db until the server restarted
1 parent 544dc49 commit 9e9f61d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

userdb.c

+1
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@ dump_userdb (USERDB * db, FILE * fp)
151151
Buf[strlen (Buf) - 1] = 0;
152152
log ("dump_userdb(): %s has expired (last seen %s)", db->nick,
153153
Buf);
154+
hash_remove(User_Db,db->nick);
154155
return;
155156
}
156157
/* warn, but dont nuke expired accounts for privileged users */

0 commit comments

Comments
 (0)