mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-17 03:08:26 +00:00
Merge branch 'master' into feature/eqemu-api-data-service-netstats-ws
This commit is contained in:
+6
-1
@@ -23,6 +23,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
#include "../common/eqemu_logsys_fmt.h"
|
||||
#include "../common/misc_functions.h"
|
||||
|
||||
#include "ucsconfig.h"
|
||||
#include "clientlist.h"
|
||||
#include "database.h"
|
||||
#include "chatchannel.h"
|
||||
@@ -466,6 +467,7 @@ static void ProcessCommandIgnore(Client *c, std::string Ignoree) {
|
||||
safe_delete(outapp);
|
||||
|
||||
}
|
||||
|
||||
Clientlist::Clientlist(int ChatPort) {
|
||||
EQStreamManagerInterfaceOptions chat_opts(ChatPort, false, false);
|
||||
chat_opts.opcode_size = 1;
|
||||
@@ -479,7 +481,10 @@ Clientlist::Clientlist(int ChatPort) {
|
||||
|
||||
ChatOpMgr = new RegularOpcodeManager;
|
||||
|
||||
if (!ChatOpMgr->LoadOpcodes("mail_opcodes.conf"))
|
||||
const ucsconfig *Config = ucsconfig::get();
|
||||
|
||||
Log(Logs::General, Logs::UCS_Server, "Loading '%s'", Config->MailOpCodesFile.c_str());
|
||||
if (!ChatOpMgr->LoadOpcodes(Config->MailOpCodesFile.c_str()))
|
||||
exit(1);
|
||||
|
||||
chatsf->OnNewConnection([this](std::shared_ptr<EQ::Net::EQStream> stream) {
|
||||
|
||||
Reference in New Issue
Block a user