| View previous topic :: View next topic |
| Author |
Message |
honeybee Halfop
Joined: 01 Jan 2006 Posts: 80
|
Posted: Thu Jan 05, 2006 11:25 am Post subject: changing source code for default banmask type |
|
|
| well iwant to change the default source code for banmask and i m not good with c can anyone do it for me? |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
|
| Back to top |
|
 |
honeybee Halfop
Joined: 01 Jan 2006 Posts: 80
|
Posted: Thu Jan 05, 2006 7:50 pm Post subject: |
|
|
thanks but as i said i wanna change the source code for default banmask type. not tcl. lemme explain this to you by default you get a ban like *!ident@*.host but I dont want that, i want it to be *!*@host.ip
i tried to edit the source code for it its kinda too messy, hope any good C coder can recode it. thanks |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Thu Jan 05, 2006 8:20 pm Post subject: |
|
|
Using user's maskhost proc
| Code: | | set maskhostDefaultType 2 |
this will change the default type to *!*@ip. Or you can use this:
| Code: | proc maskhost uhost {
return *!*@[lindex [split $uhost @] 1]
} |
_________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
|