Ban improvements
- Save a note of the username, not just the reason. - Allow setting a mask with the `banip` command. - Make ban.txt's formatting a lot more sane. Username and reason are stored in quotes. The mask uses the same formatting as actual CDIR. - Keep track of if we tried to load ban.txt. If it wasn't, then don't save over it with a blank file. - Disallow quotes in player names, as it makes player name detection in console more annoying, and saving username in files scary. # Conflicts: # src/d_clisrv.c # src/d_netcmd.c # src/i_tcp.c
Showing
- src/d_clisrv.c 96 additions, 24 deletionssrc/d_clisrv.c
- src/d_net.c 2 additions, 0 deletionssrc/d_net.c
- src/d_net.h 1 addition, 0 deletionssrc/d_net.h
- src/d_netcmd.c 21 additions, 2 deletionssrc/d_netcmd.c
- src/i_net.h 2 additions, 0 deletionssrc/i_net.h
- src/i_tcp.c 49 additions, 1 deletionsrc/i_tcp.c
Loading
Please register or sign in to comment