mIRC Home    About    Download    Register    News    Help

Print Thread
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.

Joined: Dec 2002
Posts: 46
L
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
Joined: Dec 2002
Posts: 1,527
_
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
Joined: Dec 2002
Posts: 46
L
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
Joined: Dec 2002
Posts: 1,527
_
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
Joined: Dec 2002
Posts: 46
L
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
Joined: Dec 2002
Posts: 1,321
H
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
Joined: Dec 2002
Posts: 1,527
_
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
Joined: Dec 2002
Posts: 36
T
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
Joined: Jan 2003
Posts: 2,523
Q
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
Joined: Dec 2002
Posts: 36
T
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

Link Copied to Clipboard