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