fixed minor typo

This commit is contained in:
Xackery 2018-03-13 00:24:06 -07:00
parent ac07e7d578
commit b0f591540c

View File

@ -10,7 +10,7 @@
#include "../common/eqemu_logsys.h" #include "../common/eqemu_logsys.h"
#ifndef PROTO_H #ifndef PROTO_H
#define PROTO_H #define PROTO_H
#include "../common/message->pb.h" #include "../common/message.pb.h"
#endif #endif
#include "../common/servertalk.h" #include "../common/servertalk.h"
#include "../common/string_util.h" #include "../common/string_util.h"
@ -39,7 +39,7 @@ NatsManager::~NatsManager()
nats_Close(); nats_Close();
} }
bool NatsManager::connect() { bool NatsManager::connect() {
auto ncs = natsConnection_Status(conn); auto ncs = natsConnection_Status(conn);
if (ncs == CONNECTED) if (ncs == CONNECTED)
return true; return true;
@ -154,7 +154,7 @@ void NatsManager::OnEmoteMessage(ServerEmoteMessage_Struct* msg) {
message->set_message(msg->message); message->set_message(msg->message);
message->set_to(msg->to); message->set_to(msg->to);
message->set_is_emote(true); message->set_is_emote(true);
SendChannelMessage(message); //SendChannelMessage(message);
return; return;
} }