- fixed IRC bugs reported by tomreyn:

- Pass IRC username
This commit is contained in:
Mark Vejvoda 2011-01-20 20:59:19 +00:00
parent 8053b71879
commit 48ce0830de
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}