if ident & nick same = no connect
if ident & nick same = no connect
(my english verry little.......)
if ident & nick same = client no connect
sample:
* ASDEFR ([email protected]) has joined #Channel
* EHSHEJEJSHEHS ([email protected]) has joined #Channel
note: ident & nick no take number. all character is harf letter.
if ident & nick same = client no connect
sample:
* ASDEFR ([email protected]) has joined #Channel
* EHSHEJEJSHEHS ([email protected]) has joined #Channel
note: ident & nick no take number. all character is harf letter.
-
- Posts: 36
- Joined: Fri Apr 08, 2005 12:10 pm
isn't possible to check this with spamfilter.you are only able to trigger user (u). means regexpression in nick, ident or realname.
you may use a script for this which is comparing nickname with ident. But its dangerous. Cause alot of users using nickname and ident same, so you need to script this carefully.
you may use a script for this which is comparing nickname with ident. But its dangerous. Cause alot of users using nickname and ident same, so you need to script this carefully.
.
i have:
but spoilt
Code: Select all
spamfilter {
regex "^(.+)!~?\1@.+:\1";
target user;
action kill;
reason "Nicki ile identi aynı olanlar baglanamaz. Ident'i değiştiriniz.";
};
-
- Posts: 267
- Joined: Tue Jan 18, 2005 3:24 pm
- Location: Scotland - United Kingdom
i have a question say i want to add the case sensitivity to this, how would it work...
would it be..
or would it be
would it be..
Code: Select all
^(?i.+)!~?\1@.+
Code: Select all
^((?i).+)!~?\1@.+
i spend 4 hrs a day gaming and 14hrs on irc, for 5days a week, im not an addict
-
- Former UnrealIRCd head coder
- Posts: 811
- Joined: Sat Mar 06, 2004 8:47 pm
- Location: United States
- Contact:
The latter. The former is illegal.White_Magic wrote:i have a question say i want to add the case sensitivity to this, how would it work...
would it be..
or would it beCode: Select all
^(?i.+)!~?\1@.+
Code: Select all
^((?i).+)!~?\1@.+
-- codemastr
I'm curious to know how you have a user with a username/ident longer than the normal USERLEN of 10.
Here's a regex that will handle cases where the nickname is too long for the username (since NICKLEN is 30 which is > USERLEN of 10):
^((?i).{1,10}).*!\1@
AND
^((?i).{1,9}).*!~\1@
(Although I suppose you could get away with ^((?i).{1,10}).*!~?\1@ )
Here's a regex that will handle cases where the nickname is too long for the username (since NICKLEN is 30 which is > USERLEN of 10):
^((?i).{1,10}).*!\1@
AND
^((?i).{1,9}).*!~\1@
(Although I suppose you could get away with ^((?i).{1,10}).*!~?\1@ )
-
- Posts: 267
- Joined: Tue Jan 18, 2005 3:24 pm
- Location: Scotland - United Kingdom