implement switch assist

This commit is contained in:
Martin Michelsen
2022-04-01 00:45:50 -07:00
parent edd9f4ea8f
commit 345820145e
4 changed files with 36 additions and 2 deletions
+2 -1
View File
@@ -41,8 +41,9 @@ Client::Client(
override_section_id(-1),
infinite_hp(false),
infinite_tp(false),
switch_assist(false),
can_chat(true) {
memset(&this->last_switch_enabled_subcommand, 0, sizeof(this->last_switch_enabled_subcommand));
int fd = bufferevent_getfd(this->bev);
if (fd < 0) {
this->is_virtual_connection = true;