Spamfilters on Hosts?
Posted: Sat Aug 04, 2007 4:17 pm
Hi, i have a channel on my server with VhostServ in order to assign vhosts to any user. So the user needs to enter the channel, type " !vhost my.vhost "
and then !hs on
But the problem now is that i want to block those vhosts that could be administrative ones. Example:
Administrator.MyServer.Com
NetAdmin.Staff.com
IRCOP.ServicesAdmin
(an so on...)
I tryed with a spamfilter like this:
/spamfilter add cpnNPtq block 1h INVALID_VHOST !vhost *admin*
But the word 'admin' must be at the first part of the second line =/.
[12:38] <RopeTest> !vhost admin
#vhost Message blocked: INVALID VHOST
[12:41] <RopeTest> !vhost admin.rope
#vhost Message blocked: INVALID VHOST
[12:42] <RopeTest> !vhost rope.admin
[12:42] <VhostServ> RopeTest, please register your nick first.
(here the spamfilter doesnt match) And i want it to also match this.
I also tryed with
/spamfilter add u block 1h INVALID_VHOST/NICK/IDENT *admin*
But it doesn't block the vhosts with admin
How can i do ?
Thanks!
and then !hs on
But the problem now is that i want to block those vhosts that could be administrative ones. Example:
Administrator.MyServer.Com
NetAdmin.Staff.com
IRCOP.ServicesAdmin
(an so on...)
I tryed with a spamfilter like this:
/spamfilter add cpnNPtq block 1h INVALID_VHOST !vhost *admin*
But the word 'admin' must be at the first part of the second line =/.
[12:38] <RopeTest> !vhost admin
#vhost Message blocked: INVALID VHOST
[12:41] <RopeTest> !vhost admin.rope
#vhost Message blocked: INVALID VHOST
[12:42] <RopeTest> !vhost rope.admin
[12:42] <VhostServ> RopeTest, please register your nick first.
(here the spamfilter doesnt match) And i want it to also match this.
I also tryed with
/spamfilter add u block 1h INVALID_VHOST/NICK/IDENT *admin*
But it doesn't block the vhosts with admin
How can i do ?
Thanks!