From 48ce0830ded1c9fa20d1601c464a637321e9da4d Mon Sep 17 00:00:00 2001 From: Mark Vejvoda Date: Thu, 20 Jan 2011 20:59:19 +0000 Subject: [PATCH] - fixed IRC bugs reported by tomreyn: - Pass IRC username --- source/shared_lib/sources/platform/posix/ircclient.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/shared_lib/sources/platform/posix/ircclient.cpp b/source/shared_lib/sources/platform/posix/ircclient.cpp index 51c792cd..b863a1af 100644 --- a/source/shared_lib/sources/platform/posix/ircclient.cpp +++ b/source/shared_lib/sources/platform/posix/ircclient.cpp @@ -504,7 +504,7 @@ void IRCThread::execute() { return; } - if(irc_connect(ircSession, argv[0].c_str(), IRC_SERVER_PORT, 0, this->nick.c_str(), 0, "megaglest")) { + if(irc_connect(ircSession, argv[0].c_str(), IRC_SERVER_PORT, 0, this->nick.c_str(), this->nick.c_str(), "megaglest")) { if(SystemFlags::VERBOSE_MODE_ENABLED) printf ("===> IRC Could not connect: %s\n", irc_strerror (irc_errno(ircSession))); return; }