Client: Changing loggin check
Problem
Check state of a client, to make them available to receive message is quite tricky.
Solutions
- Change attribute
bool is_registered
toint logging_step
- Set value to an enum item: NONE, PASS, NICK, LOGGED_IN
- Accept PASSBOT only after PASS and before NICK