mirror of
https://github.com/glest/glest-source.git
synced 2025-08-11 02:43:57 +02:00
- bugfix for ircclient segfault using global cache
This commit is contained in:
@@ -55,6 +55,7 @@ class IRCThread : public BaseThread
|
||||
public:
|
||||
static bool debugEnabled;
|
||||
protected:
|
||||
static const char *globalCacheContainerName;
|
||||
|
||||
std::vector<string> argv;
|
||||
irc_session_t *ircSession;
|
||||
@@ -86,6 +87,8 @@ public:
|
||||
virtual void signalQuit();
|
||||
virtual bool shutdownAndWait();
|
||||
|
||||
static void setGlobalCacheContainerName(const char *name) { globalCacheContainerName = name; }
|
||||
|
||||
void setPlayerName(string value) { playerName = value; }
|
||||
string getPlayerName() const { return playerName; }
|
||||
|
||||
|
Reference in New Issue
Block a user