gui fix + introducing boost::regexp for irc-nick-manipulation
This commit is contained in:
@@ -27,6 +27,7 @@
|
||||
#include <net/serveracceptthread.h>
|
||||
#include <net/ircthread.h>
|
||||
#include <core/avatarmanager.h>
|
||||
#include <boost/regex.hpp>
|
||||
|
||||
#include <sstream>
|
||||
|
||||
@@ -148,6 +149,14 @@ void Session::startInternetClient()
|
||||
|
||||
if (myConfig->readConfigInt("UseIRCLobbyChat"))
|
||||
{
|
||||
//testing boost::regexp
|
||||
// boost::regex pattern (" ",boost::regex_constants::icase|boost::regex_constants::perl);
|
||||
// std::string stringa (myConfig->readConfigString("MyName"));
|
||||
// std::string replace ("");
|
||||
// std::string myNameNewString;
|
||||
// myNameNewString = boost::regex_replace (stringa, pattern, replace);
|
||||
//testing boost:;regexp
|
||||
|
||||
myIrcThread = new IrcThread(*myGui);
|
||||
myIrcThread->Init(
|
||||
myConfig->readConfigString("IRCServerAddress"),
|
||||
|
||||
Reference in New Issue
Block a user