[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: extragear/network/konversation/src
From: Eike Hein <sho () eikehein ! com>
Date: 2006-01-09 23:14:22
Message-ID: 1136848462.672335.10158.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 496178 by hein:
Invert the NAMES conditionals.
M +10 -10 inputfilter.cpp
--- trunk/extragear/network/konversation/src/inputfilter.cpp #496177:496178
@@ -773,33 +773,33 @@
case RPL_NAMREPLY:
{
// Display message only if this was not an automatic request.
- if(getAutomaticRequest("NAMES",parameterList[2])==0)
+ if(getAutomaticRequest("NAMES",parameterList[2])==1)
{
- server->appendMessageToFrontmost(i18n("Names"),trailing);
- }
- else
- {
QStringList nickList = QStringList::split(" ", trailing);
// send list to channel
server->addPendingNickList(parameterList[2], nickList);
}
+ else
+ {
+ server->appendMessageToFrontmost(i18n("Names"),trailing);
+ }
break;
}
case RPL_ENDOFNAMES:
{
- if(getAutomaticRequest("NAMES",parameterList[1])==0)
+ if(getAutomaticRequest("NAMES",parameterList[1])==1)
{
- server->appendMessageToFrontmost(i18n("Names"),i18n("End of NAMES list."));
- }
- else
- {
// tell the channel that the list of nicks is complete
server->noMorePendingNicks(parameterList[1]);
// This code path was taken for the automatic NAMES input on JOIN, upcoming
// NAMES input for this channel will be manual invocations of /names
setAutomaticRequest("NAMES",parameterList[1],false);
}
+ else
+ {
+ server->appendMessageToFrontmost(i18n("Names"),i18n("End of NAMES list."));
+ }
break;
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic