Created new file special.h - moved prototypes for special flag
checks there. Added 'auto-ignore' function, intended for test users. The new special flag '+D' will cause a message (FORCE_TESTING) to be broadcast whenever you log on, to all other logged-on users, making them ignore you automatically. Also when a user joins the talker for the first time after logging on, they will check the 'who' list for anyone with the flag set, and ignore them. Test users do ignore each other (but not themselves). You can unignore a test user at any time, but you will automatically ignore them again if they log off and on. I don't recommend setting this flag for test users who log on/off frequently for the moment, since anyone running an earlier version will get 'unknown message type #20'. A possible temporary workaround might be to broadcast these messages only to people with the 'D' or 'A' chatprivs, as they are more likely to be running the current cvs version. Or to disable broadcasting (the checking when you join the talker will still work).
Showing
- src/chattable.h 1 addition, 0 deletionssrc/chattable.h
- src/edit.c 1 addition, 0 deletionssrc/edit.c
- src/incoming.c 17 additions, 0 deletionssrc/incoming.c
- src/main.c 3 additions, 0 deletionssrc/main.c
- src/mesg.c 13 additions, 8 deletionssrc/mesg.c
- src/mesg.h 1 addition, 0 deletionssrc/mesg.h
- src/newmain.c 1 addition, 0 deletionssrc/newmain.c
- src/proto.h 2 additions, 13 deletionssrc/proto.h
- src/rooms.c 1 addition, 0 deletionssrc/rooms.c
- src/script_inst.c 13 additions, 1 deletionsrc/script_inst.c
- src/special.c 10 additions, 0 deletionssrc/special.c
- src/special.h 13 additions, 0 deletionssrc/special.h
- src/talker.c 50 additions, 1 deletionsrc/talker.c
- src/talker.h 2 additions, 0 deletionssrc/talker.h
- src/user.c 1 addition, 0 deletionssrc/user.c
- src/who.c 1 addition, 0 deletionssrc/who.c
Loading
Please register or sign in to comment