mirror of
https://github.com/glest/glest-source.git
synced 2025-08-20 15:11:20 +02:00
Added const strings for versions
This commit is contained in:
@@ -38,7 +38,7 @@
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include "conversion.h"
|
||||
#include "versions.h"
|
||||
#include "shared_definitions.h"
|
||||
|
||||
using namespace Shared::Util;
|
||||
using namespace Shared::PlatformCommon;
|
||||
@@ -837,7 +837,7 @@ namespace Shared {
|
||||
if (SystemFlags::VERBOSE_MODE_ENABLED || IRCThread::debugEnabled) printf("===> IRC: Line: %d\n", __LINE__);
|
||||
|
||||
safeMutex.Lock();
|
||||
if (irc_connect(ircSession, argv[0].c_str(), IRC_SERVER_PORT, 0, this->nick.c_str(), this->username.c_str(), (string("ZetaGlest ") + GAME_VERSION).c_str())) {
|
||||
if (irc_connect(ircSession, argv[0].c_str(), IRC_SERVER_PORT, 0, this->nick.c_str(), this->username.c_str(), (string("ZetaGlest ") + GameVersionString).c_str())) {
|
||||
safeMutex.ReleaseLock();
|
||||
if (SystemFlags::VERBOSE_MODE_ENABLED || IRCThread::debugEnabled) printf("===> IRC Could not connect: %s\n", irc_strerror(irc_errno(ircSession)));
|
||||
return;
|
||||
|
Reference in New Issue
Block a user