fix: server motd
This commit is contained in:
parent
ccaa74a9a7
commit
97ae1496a7
10 changed files with 101 additions and 83 deletions
|
|
@ -17,6 +17,7 @@
|
|||
#include "Util.h"
|
||||
#include "World.h"
|
||||
#include "SHA1.h"
|
||||
#include "ServerMotd.h"
|
||||
|
||||
RASocket::RASocket()
|
||||
{
|
||||
|
|
@ -349,7 +350,7 @@ int RASocket::svc(void)
|
|||
}
|
||||
|
||||
// send motd
|
||||
if (send(std::string(sWorld->GetMotd()) + "\r\n") == -1)
|
||||
if (send(std::string(Motd::GetMotd()) + "\r\n") == -1)
|
||||
return -1;
|
||||
|
||||
for (;;)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue