Closed Bug 217287 Opened 22 years ago Closed 21 years ago

/name command returns error "Unknown pref name". Doesn't change username section of username@host

Categories

(Other Applications :: ChatZilla, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: davenportias, Assigned: bugzilla-mozilla-20000923)

Details

(Whiteboard: cz-patch)

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 The /name command used to be able to change the username section of "username@host" -- the information returned by a /whois command. Now when you try this, the following errors are returned. . . [error] Inknown pref name "name" [error] Internal error dispatching command 'pref". [error] TypeError: r has no properties @ <chrome://chatzilla/content/command.js> 1501 You can still change the username through the preferences dialog box. Reproducible: Always Steps to Reproduce: 1.Start Chatzilla without joining an IRC server. 2.Use "/name" command to change username. 3.Watch error messages appear on screen. 4.Join any IRC server and channel. Actual Results: Username remains set to default "chatzilla" or to whatever was in the preferences panel prior to attempting to change it using the "/name" command. Expected Results: The username should have been set to whatever argument you tried to set it to through "/name".
Easy fix for this: the name command's 'function' should be "pref username" (possibly "network-pref username"?), not "pref name".
Status: UNCONFIRMED → NEW
Ever confirmed: true
Assignee: rginda → silver
Status: NEW → ASSIGNED
Whiteboard: cz-patch
Attachment #136683 - Flags: review+
Attachment #136683 - Flags: approval1.6b?
OS: Windows 2000 → All
Hardware: PC → All
Comment on attachment 136683 [details] [diff] [review] Changes /name alias to us correct pref a=asa (on behalf of drivers) for checkin to 1.6beta
Attachment #136683 - Flags: approval1.6b? → approval1.6b+
Checked in.
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Product: Core → Other Applications
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: