Preparing the server management irc bot for further tasks.

This commit is contained in:
lotodore
2009-08-20 11:02:05 +00:00
parent 44d32b7376
commit 0aa285621b
8 changed files with 456 additions and 252 deletions
+1 -1
View File
@@ -279,7 +279,7 @@ void Session::startNetworkServer()
boost::shared_ptr<IrcThread> tmpIrcThread;
if (myConfig->readConfigInt("UseAdminIRC"))
{
tmpIrcThread = boost::shared_ptr<IrcThread>(new IrcThread(myNetServer.get()));
tmpIrcThread = boost::shared_ptr<IrcThread>(new IrcThread(&myNetServer->GetIrcBot()));
tmpIrcThread->Init(
myConfig->readConfigString("AdminIRCServerAddress"),