mIRC Home    About    Download    Register    News    Help

Print Thread
#254141 24/07/15 02:35 AM
Joined: Jul 2015
Posts: 2
D
DBoyz Offline OP
Bowl of petunias
OP Offline
Bowl of petunias
D
Joined: Jul 2015
Posts: 2
According to what I understand, the format of numeric 482 goes like this.

Code:
:server nick #channel :message


The current representation of numeric 482 on mIRC however lacks the #channel parameter and goes like this.

Code:
nick: message


Is there any reason why #channel parameter is omitted since it remains useful to users imo.

DBoyz #254142 24/07/15 03:12 AM
Joined: Jun 2012
Posts: 14
Y
Pikka bird
Offline
Pikka bird
Y
Joined: Jun 2012
Posts: 14
Numeric responses are sent by the server. mIRC has no control over what it receives.

Also, according to RFC1459 numeric 482 is as follows:
Quote:
482 ERR_CHANOPRIVSNEEDED
"<channel> :You're not channel operator"

- Any command requiring 'chanop' privileges (such as
MODE messages) must return this error if the client
making the attempt is not a chanop on the specified
channel.



Your network may be doing something strange.

DBoyz #254146 24/07/15 10:39 AM
Joined: Apr 2004
Posts: 871
Sat Offline
Hoopy frood
Offline
Hoopy frood
Joined: Apr 2004
Posts: 871
I am somewhat confused by your request as well. I just tried, and in this situation, I get one of two results:

1) If I am on the target channel, I get "* sat: You're not channel operator" shown in the window of that channel.
2) If I'm not on the target channel, I get "#channel You're not channel operator" in the status window.

In the first case, the channel parameter is omitted because the window it is shown in, is the actual target channel. In the second case, the channel parameter is shown.

With this as a basis, could you please elaborate on what case you want changed and why? (And of course, if mIRC ever showed the message without the channel name in the status window, that would be a bug.)


Saturn, QuakeNet staff
DBoyz #254154 25/07/15 05:23 AM
Joined: Jul 2015
Posts: 2
D
DBoyz Offline OP
Bowl of petunias
OP Offline
Bowl of petunias
D
Joined: Jul 2015
Posts: 2
I'm sorry for the confusion. The numeric received from the IRCd is correct but I was asking the rationale of mIRC to remove the #channel parameter when it displays numeric 482 to user.

Anyway, thanks Sat for clarifying how numeric 482 is handled on mIRC. However, I am only able to reproduce case 1 whether I am on the target channel or not. I'm using mIRC 7.42 on InspIRCd and UnrealIRCd.

Please mark this thread as resolved or anything equivalent. Thank you!

Edit:
Case 1 (i.e. The following is shown in the window of that channel)
Code:
* DBoyz: You're not channel operator

Last edited by DBoyz; 25/07/15 05:27 AM.

Link Copied to Clipboard