[Konversation-devel] [Bug 112127] -r/+r and -R/+R channel mode changes are not shown
Peter Simonsson
psn at linux.se
Sat Sep 24 19:01:46 CEST 2005
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=112127
psn linux se changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
------- Additional Comments From psn linux se 2005-09-24 19:01 -------
SVN commit 463640 by psn:
Bug fix from Lothar Braun. Show all channel mode changes.
BUG:112127
M +14 -3 channel.cpp
--- trunk/extragear/network/konversation/src/channel.cpp #463639:463640
@ -1400,7 +1400,7 @
}
break;
- case 'O': break;
+ //case 'O': break;
case 'v':
if(plus)
@ -1537,7 +1537,7 @
if(plus) modeP->setDown(false);
break;
- case 'r': break;
+ //case 'r': break;
case 't':
if(plus)
@ -1553,7 +1553,7 @
modeT->setDown(plus);
break;
- case 'k': break;
+ //case 'k': break;
case 'l':
if(plus)
@ -1609,6 +1609,17 @
else message=i18n("%1 removes the invitation mask %2.").arg(sourceNick).arg(parameter);
}
break;
+ default:
+ if(plus)
+ {
+ if(fromMe) message=i18n("You set channel mode +%1").arg(mode);
+ else message=i18n("%1 sets channel mode +%2").arg(sourceNick).arg(mode);
+ }
+ else
+ {
+ if (fromMe) message=i18n("You set channel mode -%1").arg(mode);
+ else message= i18n("%1 sets channel mode -%2").arg(sourceNick).arg(mode);
+ }
}
if(!message.isEmpty() && !Preferences::useLiteralModes())
More information about the Konversation-devel
mailing list