mIRC Home    About    Download    Register    News    Help

Print Thread
6.03: +v user not listed as such after -o #7871 23/01/03 12:09 AM
Joined: Jan 2003
Posts: 7
S
ShapeH Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
S
Joined: Jan 2003
Posts: 7
Greetings.

An apparent bug in mIRC 6.03:

When a channel operator, who was previously voiced (+v) is deopped (-o), the user list does not show a + before the nickname if the +ving took place before you (the observer) joined the channel.

It seemed strange when an op -oed himself in a moderated channel, but could still talk - /whois revealed he IS actually voiced, even if not listed as such in the channel.

Cheers! smile
// E.

Re: 6.03: +v user not listed as such after -o #7872 23/01/03 12:49 AM
Joined: Dec 2002
Posts: 46
L
LtGuide Offline
Ameglian cow
Offline
Ameglian cow
L
Joined: Dec 2002
Posts: 46
its not mirc's fault... if you check the /debug when you join the channel, you will notice that the server doesn't show the nicks with both modes (either @, +, or nothing).

this is an ircd 'feature' mad


evil is in the eye of the beholder
Re: 6.03: +v user not listed as such after -o #7873 23/01/03 02:02 AM
Joined: Dec 2002
Posts: 1,527
_
_D3m0n_ Offline
Hoopy frood
Offline
Hoopy frood
_
Joined: Dec 2002
Posts: 1,527
i think what hes saying is mirc should still pick up the +v that is still set on the Op who deopped and then still had the +v setting enabled on themselves ........ if thats the case then yes id say its a bug .... it should pick it up


D3m0nnet.com
Re: 6.03: +v user not listed as such after -o #7874 23/01/03 02:59 AM
Joined: Dec 2002
Posts: 46
L
LtGuide Offline
Ameglian cow
Offline
Ameglian cow
L
Joined: Dec 2002
Posts: 46
how is mirc to know that the nick is also +v when it didn't see it happen? i already said that the server won't tell you if the nick has multiple modes (ie. @+nick)

if you read the original post, he said that the +vo happened before he joined the channel. (the server would have told him it was @nick)


evil is in the eye of the beholder
Re: 6.03: +v user not listed as such after -o #7875 23/01/03 04:03 AM
Joined: Dec 2002
Posts: 1,527
_
_D3m0n_ Offline
Hoopy frood
Offline
Hoopy frood
_
Joined: Dec 2002
Posts: 1,527
ok maybe im mis wording this here but if the user has mode +v and even when ur opped it doesnt show it ....... does mirc not take a modes of user reading when it connects???? which would mean it should know that the user is +v but it wont display it along with +o .... whatever the deal it should be a bug ...... cause the modes there but mirc isnt picking it up


D3m0nnet.com
Re: 6.03: +v user not listed as such after -o #7876 23/01/03 06:11 AM
Joined: Dec 2002
Posts: 46
L
LtGuide Offline
Ameglian cow
Offline
Ameglian cow
L
Joined: Dec 2002
Posts: 46
/debug info:
-> irc.server.com JOIN #test
<- :user!ident@host JOIN :#Test
-> irc.server.com MODE #Test
<- :irc.server.com 332 user #Test :Welcome to #Test!
<- :irc.server.com 333 user #Test nickC 1043301167
; list of nicks on #Test, starting with you. nickA is +o, nickB is +ov, nickC is +v, nickD is +v, nickE is nothing
; notice how nickB shows up as @nickB even though it is +ov

<- :irc.server.com 353 user = #Test :user @nickA @nickB +nickC +nickD nickE
<- :irc.server.com 366 user #Test :End of /NAMES list.
<- :irc.server.com 324 user #Test +tnl 11
<- :irc.server.com 329 user #Test 1009984996
<- :ChannelService!service@server.com MODE #Test +o user
; prior to this point, nickB appears in the nicklist as @nickB
; now that nickB has been set -o, it appears as nickB even though it is also +v

<- :user!ident@host MODE #Test -o nickB

do you see any indication from the server that the nickB is also +v?
you can know all you want that the nick is also +v, but theres no way that mirc would know..

the problem with nickB showing up as having no modes is not a mirc bug, its an issue with the server not informing the client..


evil is in the eye of the beholder
Re: 6.03: +v user not listed as such after -o #7877 23/01/03 07:11 AM
Joined: Dec 2002
Posts: 1,321
H
Hammer Offline
Hoopy frood
Offline
Hoopy frood
H
Joined: Dec 2002
Posts: 1,321
The problem with showing @+#channel in NAMES or WHOIS is that it breaks some clients. So, the only real way to know if someone who has deopped is +v or not is to /WHOIS them or get /NAMES $chan on DEOP and look for the matching channel. /NAMES is obviously the best choice because it "should" update the nicklist correctly on its own.


DALnet: #HelpDesk and #m[color:#FF0000]IR[color:#EEEE00]C
Re: 6.03: +v user not listed as such after -o #7878 24/01/03 12:27 AM
Joined: Dec 2002
Posts: 1,527
_
_D3m0n_ Offline
Hoopy frood
Offline
Hoopy frood
_
Joined: Dec 2002
Posts: 1,527
why cant mirc be set internally to get this nicklist refesh on a deop ..... rather than script it into it?


D3m0nnet.com
Re: 6.03: +v user not listed as such after -o #7879 24/01/03 10:34 PM
Joined: Dec 2002
Posts: 36
T
TC_Hessen Offline
Ameglian cow
Offline
Ameglian cow
T
Joined: Dec 2002
Posts: 36
hi,

I use a small row

on 1:RAWMODE:#: if ($regex($1,-.*[hoaq])) names $chan

to fix this problem. It depends on the ircd if there is only o (op), h,o (helper, op) or some other modes that are higher than v (voice).

In this context, is there a variable that returns the possible channel-modes to set the level of a nick? $prefix only returns "@%+", but not "ohv".


cu

TC / Mario
Re: 6.03: +v user not listed as such after -o #7880 25/01/03 11:47 AM
Joined: Jan 2003
Posts: 2,523
Q
qwerty Offline
Hoopy frood
Offline
Hoopy frood
Q
Joined: Jan 2003
Posts: 2,523
There is: it's called $nickmode and, for reasons that escape me, it's undocumented.


/.timerQ 1 0 echo /.timerQ 1 0 $timer(Q).com
Re: 6.03: +v user not listed as such after -o #7881 25/01/03 03:49 PM
Joined: Dec 2002
Posts: 36
T
TC_Hessen Offline
Ameglian cow
Offline
Ameglian cow
T
Joined: Dec 2002
Posts: 36
Ok, then I changed my line to

on 1:RAWMODE:#: if ($regex($1,-.*[ $+ $left($nickmode,-1) $+ ])) names $chan

wink I hope this fixes the problem in all posiible ircd's.


cu

TC / Mario