mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-26 03:07:33 +00:00
Update clientlist.cpp
This commit is contained in:
+3
-14
@@ -36,8 +36,6 @@
|
|||||||
#include "../common/zone_store.h"
|
#include "../common/zone_store.h"
|
||||||
#include <set>
|
#include <set>
|
||||||
|
|
||||||
WorldDatabase database;
|
|
||||||
|
|
||||||
uint32 numplayers = 0; //this really wants to be a member variable of ClientList...
|
uint32 numplayers = 0; //this really wants to be a member variable of ClientList...
|
||||||
|
|
||||||
ClientList::ClientList()
|
ClientList::ClientList()
|
||||||
@@ -322,10 +320,7 @@ void ClientList::SendCLEList(const int16& admin, const char* to, WorldTCPConnect
|
|||||||
"Account: {} ({}) | IP: {} | Admin: {}",
|
"Account: {} ({}) | IP: {} | Admin: {}",
|
||||||
cle->AccountName(),
|
cle->AccountName(),
|
||||||
cle->AccountID(),
|
cle->AccountID(),
|
||||||
Saylink::Silent(
|
inet_ntoa(in),
|
||||||
fmt::format("#show ip_lookup {}", inet_ntoa(in)),
|
|
||||||
inet_ntoa(in)
|
|
||||||
),
|
|
||||||
cle->Admin()
|
cle->Admin()
|
||||||
);
|
);
|
||||||
|
|
||||||
@@ -333,15 +328,9 @@ void ClientList::SendCLEList(const int16& admin, const char* to, WorldTCPConnect
|
|||||||
message += fmt::format(
|
message += fmt::format(
|
||||||
"{}Character: {} ({}) | Zone: {} ({})",
|
"{}Character: {} ({}) | Zone: {} ({})",
|
||||||
new_line,
|
new_line,
|
||||||
Saylink::Silent(
|
cle->name(),
|
||||||
fmt::format("#goto {}", cle->name()),
|
|
||||||
cle->name()
|
|
||||||
),
|
|
||||||
cle->CharID(),
|
cle->CharID(),
|
||||||
Saylink::Silent(
|
ZoneLongName(cle->zone()),
|
||||||
fmt::format("#zone {}", cle->zone()),
|
|
||||||
ZoneLongName(cle->zone())
|
|
||||||
),
|
|
||||||
cle->zone()
|
cle->zone()
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user