Diffstat (limited to 'noncore/net/opieirc/ircmessageparser.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/opieirc/ircmessageparser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/net/opieirc/ircmessageparser.cpp b/noncore/net/opieirc/ircmessageparser.cpp index a95c64e..e8d3b1a 100644 --- a/noncore/net/opieirc/ircmessageparser.cpp +++ b/noncore/net/opieirc/ircmessageparser.cpp | |||
@@ -496,26 +496,26 @@ void IRCMessageParser::parseNumericalEndOfNames(IRCMessage *message) { | |||
496 | 496 | ||
497 | 497 | ||
498 | void IRCMessageParser::parseNumericalNicknameInUse(IRCMessage *) { | 498 | void IRCMessageParser::parseNumericalNicknameInUse(IRCMessage *) { |
499 | emit outputReady(IRCOutput(OUTPUT_ERROR, tr("Nickname is in use, please reconnect with a different nickname"))); | 499 | emit outputReady(IRCOutput(OUTPUT_ERROR, tr("Nickname is in use, please reconnect with a different nickname"))); |
500 | m_session->endSession(); | 500 | m_session->endSession(); |
501 | } | 501 | } |
502 | 502 | ||
503 | void IRCMessageParser::parseNumericalNoSuchNick(IRCMessage *) { | 503 | void IRCMessageParser::parseNumericalNoSuchNick(IRCMessage *) { |
504 | emit outputReady(IRCOutput(OUTPUT_ERROR, tr("No such nickname"))); | 504 | emit outputReady(IRCOutput(OUTPUT_ERROR, tr("No such nickname"))); |
505 | } | 505 | } |
506 | 506 | ||
507 | void IRCMessageParser::parseNumericalTopic(IRCMessage *message) { | 507 | void IRCMessageParser::parseNumericalTopic(IRCMessage *message) { |
508 | IRCChannel *channel = m_session->getChannel(message->param(1).lower()); | 508 | IRCChannel *channel = m_session->getChannel(message->param(1).lower()); |
509 | if (channel) { | 509 | if (channel) { |
510 | IRCOutput output(OUTPUT_TOPIC, tr("Topic for channel " + channel->channelname() + " is \"" + message->param(2) + "\"")); | 510 | IRCOutput output(OUTPUT_TOPIC, tr("Topic for channel " + channel->channelname() + " is \"" + message->param(2) + "\"")); |
511 | output.addParam(channel); | 511 | output.addParam(channel); |
512 | emit outputReady(output); | 512 | emit outputReady(output); |
513 | } else { | 513 | } else { |
514 | IRCOutput output(OUTPUT_TOPIC, tr("Topic for channel " + message->param(1) + " is \"" + message->param(2) + "\"")); | 514 | IRCOutput output(OUTPUT_TOPIC, tr("Topic for channel " + message->param(1) + " is \"" + message->param(2) + "\"")); |
515 | output.addParam(0); | 515 | output.addParam(0); |
516 | emit outputReady(output); | 516 | emit outputReady(output); |
517 | } | 517 | } |
518 | } | 518 | } |
519 | 519 | ||
520 | void IRCMessageParser::parseNumericalTopicWhoTime(IRCMessage *message) { | 520 | void IRCMessageParser::parseNumericalTopicWhoTime(IRCMessage *) { |
521 | } | 521 | } |