From 0138ac025f4d12240b07e18aa27037761875d355 Mon Sep 17 00:00:00 2001
From: Kawe Mazidjatari <48657826+Mauler125@users.noreply.github.com>
Date: Mon, 15 May 2023 00:54:33 +0200
Subject: [PATCH] Fix bug when trying to print the host token

Should return ptr to string (caught from compiler warnings).
---
 r5dev/networksystem/pylon.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/r5dev/networksystem/pylon.cpp b/r5dev/networksystem/pylon.cpp
index 0d07baab..4ce90cf3 100644
--- a/r5dev/networksystem/pylon.cpp
+++ b/r5dev/networksystem/pylon.cpp
@@ -218,7 +218,7 @@ bool CPylon::KeepAlive(const NetGameServer_t& netGameServer)
             m_Token = hostToken;
             DevMsg(eDLL_T::SERVER, "Published server with token: %s'%s%s%s'\n",
                 g_svReset, g_svGreyB,
-                hostToken, g_svReset);
+                hostToken.c_str(), g_svReset);
         }
     }