- bugfix for ircclient segfault using global cache

This commit is contained in:
Mark Vejvoda
2013-01-08 07:55:48 +00:00
parent 6872a873b2
commit 67be884d25
3 changed files with 11 additions and 0 deletions

View File

@@ -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; }