Commit Graph

3 Commits

Author SHA1 Message Date
MangosArentLiterature
a5386ddc77 Change /login to use a "prompt" based system
This commit changes /login to no longer take command arguments. Instead, upon sending /login, you will enter an interactive "prompt", where your next OOC message will be interpreted as your login attempt (and will not be shown to other users). This prevents a typo from accidentally broadcasting your credentials to the entire area.

- Changes /login to take no command arguments, /login now sets a client state "is_logging_in".
- pktOocChat will now intercept a client's OOC message if they have this client state, and will interpret that as a moderator login.
- Adds the helper function loginAttempt() for handling moderator logins.
2021-04-26 16:29:56 -05:00
MangosArentLiterature
885de71417 Split up commands.cpp
the beast has been vanquished
2021-04-15 17:55:15 -05:00
MangosArentLiterature
7dca20efe5 Splitting commands part 1, authentication 2021-04-15 00:49:57 -05:00