[Bug Fix] Fix possible issue where variables have the same name. (#2156)

* [Bug Fix] Fix possible issue where variables have the same name.

* Naming.
This commit is contained in:
Kinglykrab
2022-05-08 01:43:28 -04:00
committed by GitHub
parent fd7b15abb1
commit 9d784d0d9b
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -56,8 +56,8 @@ extern SharedTaskManager shared_task_manager;
void CatchSignal(int sig_num);
ZoneServer::ZoneServer(std::shared_ptr<EQ::Net::ServertalkServerConnection> connection, EQ::Net::ConsoleServer *console)
: tcpc(connection), zone_boot_timer(5000) {
ZoneServer::ZoneServer(std::shared_ptr<EQ::Net::ServertalkServerConnection> in_connection, EQ::Net::ConsoleServer *in_console)
: tcpc(in_connection), zone_boot_timer(5000) {
/* Set Process tracking variable defaults */
memset(zone_name, 0, sizeof(zone_name));
@@ -84,7 +84,7 @@ ZoneServer::ZoneServer(std::shared_ptr<EQ::Net::ServertalkServerConnection> conn
}
});
console = console;
console = in_console;
}
ZoneServer::~ZoneServer() {