mIRC Home    About    Download    Register    News    Help

Print Thread
#176138 04/05/07 06:25 AM
Joined: Jun 2006
Posts: 508
D
deegee Offline OP
Fjord artisan
OP Offline
Fjord artisan
D
Joined: Jun 2006
Posts: 508
If you issue a ""control"" command (/guser, /protect,/ignore,/aop, etc) specifying a nick and mask type e.g. "/protect nick #chan 2 netwk", on a user who is not in the IAL, mIRC sends a 'userhost nick' to obtain the address to add to the list.
However the IAL is not filled for this user from the reply, as it is when you use '/userhost nick'.

Joined: Jan 2004
Posts: 2,127
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2004
Posts: 2,127
I don't see anyone else answering, so I'll take a stab.
I see that "/userhost <nick>" does add them into the IAL after i've done an /ialclear to remove them from the IAL, however I don't see /protect and /ignore behaving the same way as /userhost does.

/userhost <nick> generates a RAW 302 event, while /protect and /ignore only generate a green info message. It appears to me that the 302 Raw is what's adding their address to the IAL.

I don't know how/why /ignore adds their address mask to the IGNORE list without bothering to take the effort to also add it to the IAL, since it 'knows' it in order to add it.

Joined: Jun 2006
Posts: 508
D
deegee Offline OP
Fjord artisan
OP Offline
Fjord artisan
D
Joined: Jun 2006
Posts: 508
Quote:
I see that "/userhost <nick>" does add them into the IAL after i've done an /ialclear to remove them from the IAL, however I don't see /protect and /ignore behaving the same way as /userhost does.
That's exactly my point. :p
Quote:
/userhost <nick> generates a RAW 302 event, while /protect and /ignore only generate a green info message. It appears to me that the 302 Raw is what's adding their address to the IAL.

I don't know how/why /ignore adds their address mask to the IGNORE list without bothering to take the effort to also add it to the IAL, since it 'knows' it in order to add it.
/dns, /ignore, /protect, /ban, /guser, etc all obtain the address in the exact same way, if it is not in the IAL, mIRC sends a '/userhost nick'. mIRC does not display anything from these internal userhost queries but the exact same raw 302 received, therefore it should fill the IAL with that info.


You can see the /userhost request and raw response if you type /debug @debug.

Joined: Jan 2004
Posts: 2,127
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2004
Posts: 2,127
ok, i see the 302 happening in the debug window, but for some reason it's not triggering the raw-302 event, which is what i was looking for.

Joined: Jun 2006
Posts: 508
D
deegee Offline OP
Fjord artisan
OP Offline
Fjord artisan
D
Joined: Jun 2006
Posts: 508
I notice this is still not fixed in 6.3 frown

Joined: Jan 2006
Posts: 111
N
Vogon poet
Offline
Vogon poet
N
Joined: Jan 2006
Posts: 111
I don't use mirc 6.3 but the helpfile of previous versions contains a note about /protect:

Quote:
Note: This option is usually limited to using nicknames because of the way IRC servers work, however you can specify an address, and if the user is in your Internal Address List, they will be protected by address.


Joined: Dec 2002
Posts: 5,411
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 5,411
Thanks this has been fixed for the next version.

Joined: Jun 2006
Posts: 508
D
deegee Offline OP
Fjord artisan
OP Offline
Fjord artisan
D
Joined: Jun 2006
Posts: 508
Good work. Thanks smile


Link Copied to Clipboard