gui fix + introducing boost::regexp for irc-nick-manipulation

This commit is contained in:
doitux
2007-11-04 14:09:55 +00:00
parent 3e8fc41cb4
commit b62f718f1c
3 changed files with 22 additions and 6 deletions
+9
View File
@@ -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"),