mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 22:01:30 +00:00
Fix for lvalue ref trying to bind to a rvalue
This commit is contained in:
parent
63198d974e
commit
0eeb73b436
@ -9509,7 +9509,7 @@ void command_netstats(Client *c, const Seperator *sep)
|
||||
}
|
||||
|
||||
auto connection = c->Connection();
|
||||
auto &opts = connection->GetManager()->GetOptions();
|
||||
auto opts = connection->GetManager()->GetOptions();
|
||||
auto eqs_stats = connection->GetStats();
|
||||
auto &stats = eqs_stats.DaybreakStats;
|
||||
auto now = EQ::Net::Clock::now();
|
||||
@ -12236,7 +12236,7 @@ void command_network(Client *c, const Seperator *sep)
|
||||
{
|
||||
auto eqsi = c->Connection();
|
||||
auto manager = eqsi->GetManager();
|
||||
auto &opts = manager->GetOptions();
|
||||
auto opts = manager->GetOptions();
|
||||
|
||||
if (!strcasecmp(sep->arg[2], "all"))
|
||||
{
|
||||
@ -12294,7 +12294,7 @@ void command_network(Client *c, const Seperator *sep)
|
||||
{
|
||||
auto eqsi = c->Connection();
|
||||
auto manager = eqsi->GetManager();
|
||||
auto &opts = manager->GetOptions();
|
||||
auto opts = manager->GetOptions();
|
||||
|
||||
if (!strcasecmp(sep->arg[3], ""))
|
||||
{
|
||||
|
||||
@ -657,7 +657,7 @@ void callGetPacketStatistics(Json::Value &response)
|
||||
for (auto &iter : list) {
|
||||
auto client = iter.second;
|
||||
auto connection = client->Connection();
|
||||
auto &opts = connection->GetManager()->GetOptions();
|
||||
auto opts = connection->GetManager()->GetOptions();
|
||||
auto eqs_stats = connection->GetStats();
|
||||
auto &stats = eqs_stats.DaybreakStats;
|
||||
auto now = EQ::Net::Clock::now();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user