| Summary: | -r/+r and -R/+R channel mode changes are not shown | ||
|---|---|---|---|
| Product: | [Applications] konversation | Reporter: | Francis Giannaros <francis> |
| Component: | general | Assignee: | Konversation Bugs <konversation-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Unlisted Binaries | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Francis Giannaros
2005-09-06 18:51:56 UTC
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())
|