- when changing playername, we reset the irc client connection when entering the internet lobby

This commit is contained in:
Mark Vejvoda
2012-11-19 21:56:21 +00:00
parent 3f82137c03
commit f7ebba0301
3 changed files with 18 additions and 0 deletions

View File

@@ -65,6 +65,8 @@ protected:
string channel;
string nick;
string playerName;
bool hasJoinedChannel;
bool eventDataDone;
Mutex mutexNickList;
@@ -83,6 +85,9 @@ public:
virtual void signalQuit();
virtual bool shutdownAndWait();
void setPlayerName(string value) { playerName = value; }
string getPlayerName() const { return playerName; }
bool getWantToLeaveChannel() const { return wantToLeaveChannel; }
void SendIRCCmdMessage(string target, string msg);