Closed Bug 1718428 Opened 5 years ago Closed 5 years ago

Tidy up existing plugin code in cZ

Categories

(SeaMonkey :: Chat, defect)

defect

Tracking

(seamonkey2.53+ fixed)

RESOLVED FIXED
seamonkey 2.88
Tracking Status
seamonkey2.53 + fixed

People

(Reporter: iannbugzilla, Assigned: iannbugzilla)

References

Details

(Whiteboard: SM2.53.9)

Attachments

(1 file)

Looking to address the following issues:

  • /disable-plugin and /enable-plugin call cmdAblePlugin but they take completely separate code paths within that function so they might as well call two different functions;
  • rather than checking for CMD_NO_HELP flag just set the default help as MSG_NO_HELP and remove use of that flag;
  • fix missing variable declaration in cli_installPlugin function.

[Approval Request Comment]
Regression caused by (bug #): n/a
User impact if declined: for some plugins that don't have help, console becomes noisey
Testing completed (on m-c, etc.): 2.53.9
Risk to taking this patch (and alternatives if risky): low
String changes made by this patch: none

Attachment #9229109 - Flags: review?(frgrahl)
Attachment #9229109 - Flags: approval-comm-release?
Attachment #9229109 - Flags: approval-comm-esr60?
Blocks: 541719

Comment on attachment 9229109 [details] [diff] [review]
1718428-irc-plugin-tidy-2539.patch

LGTM

Attachment #9229109 - Flags: review?(frgrahl)
Attachment #9229109 - Flags: review+
Attachment #9229109 - Flags: approval-comm-release?
Attachment #9229109 - Flags: approval-comm-release+
Attachment #9229109 - Flags: approval-comm-esr60?
Attachment #9229109 - Flags: approval-comm-esr60+

Pushed by frgrahl@gmx.net:
https://hg.mozilla.org/comm-central/rev/b6c02014116e
Tidy up existing plugin code in cZ. r=frg

Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Whiteboard: SM2.53.9
Target Milestone: --- → seamonkey 2.88
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: