AuthorMessage
InfErnuS
n00b
Posts: 28

I want to run a hub where a certain prefix is required and the hub renames the user to the correct prefix. What i did was:
!set isp ips add [TEST] = 0.0.0.0-255.255.255.255
!set isp reqisppref on
and
!set isp forcepref on
It renames users to [ISP]nick instead of [TEST]nick.. Am i doing something wrong or did i find a bug?
ATAG
n00b
Posts: 12

It happened with me too. The problem are the spaces  Just write:
Code:
[TEST]=0.0.0.0-255.255.255.254

InfErnuS
n00b
Posts: 28

I wrote: [TEST]=0 . 0 . 0 . 0-255 . 255 . 255 . 255
and for some reason it keeps renaming users with [ISP] in front  :(
InfErnuS
n00b
Posts: 28

Nevermind. I just pasted what you wrote and it worked... wonder why the spaces disappear tho...
Dardanicum
n00b
Posts: 16

that one works but, there's something wrong with the prefixes.
when set up the hub doesn't give any user info.
[01:11:54] <[KS]Dardanicum> [command] !seen [KS]^_^-Dj
[01:11:54] *** User [KS]^_^-Dj not found on this hub
[01:11:55] ***
[01:12:25] <[KS]Dardanicum> [command] !seen ^_^-Dj
[01:12:25] *** User ^_^-Dj not found on this hub
Chucky
n00b
Posts: 22

Hmm...i guess i had not understood that spaces issue... i've donne this:
!set isp ips add [sapo]= 213.13.*
!set isp reqisppref on
!set isp forcepref on
The part of "sapo" prefix it really works...    users on that range will apear with [sapo] prefix...
But all the other users that dont belong to that range apear with an [ISP] prefix
Can someone get me straight on this ?
Lord_Zero
Ametuar
Posts: 122

use these:
Code:
!set isp ips add [sapo]= 213.13.*
!set isp ips add =0.0.0.0-255.255.255.254
!set isp reqisppref on
!set isp forcepref on

You need an ISP declared with a void prefix that includes the full range after all ISP definitions so the hub won't add the [ISP] prefix to those who don't match any declared ISP.
Chucky
n00b
Posts: 22

" Do not alow irrelevant prefix"
It's not alowing them before nick but after will show up....
Example... Force coutry prefix and not alowing irrelevant prefix--->>  [US][TY][RTY]asdgfd[UJ]
If from US, it will apear  [US]asdgfd[UJ] ...
Is this normal, or something missing in this funcion?
Lord_Zero
Ametuar
Posts: 122

If you set the hub to require only the country prefix all other prefixes (even fake country prefixes) are removed.
If you set the hub to require ISP prefix and the ISP of a user is not detected, any other prefixes (except the country prefix) are considered as "relevant" for ISP part of prefix.