Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: exclude enhancement  (Read 4500 times)

0 Members and 1 Guest are viewing this topic.

CrazyCat

  • Anope User
  • Offline Offline
  • Posts: 155
    • French Eggdrop community
exclude enhancement
« on: February 02, 2011, 09:02:53 PM »

Hello there,

I know that the next version will come soon (feb, 7th ?), but I've two small request about the exclude system:
- case-insensitive (CrazyCat is Crazycat is crazycat ...)
- possibility to add hostmask

If it's possible (not for next release, but another one), it'll be great !
Logged
I'm currently

katsklaw

  • Supporter
  • Anope User
  • Offline Offline
  • Posts: 537
Re: exclude enhancement
« Reply #1 on: February 02, 2011, 11:00:04 PM »

The problem with case-insensitivity is that it will then be assumed that BOB = bob = bOb and are all the same person, when in fact they could be 3 separate people using the same nick just cased different at different times of the day. Most users retain their case. For example I've always used katsklaw and never Katsklaw, KatsKlaw or KATSKLAW.
« Last Edit: February 02, 2011, 11:02:34 PM by katsklaw »
Logged

Hal9000

  • Team
  • *
  • Offline Offline
  • Posts: 103
Re: exclude enhancement
« Reply #2 on: February 03, 2011, 12:10:06 AM »

I think the case insensitive thing is a good idea and could make it into the next release, maybe. Probably will be a one-liner.
As for the hostmasks, we will have to see how big the effort would be.
Anyhoo, it would be best if you open up a ticket in the bug tracker for each of your requests ;)
Logged

CrazyCat

  • Anope User
  • Offline Offline
  • Posts: 155
    • French Eggdrop community
Re: exclude enhancement
« Reply #3 on: February 03, 2011, 09:15:13 AM »

@katsklaw : You're true, but irc is case-insensitive with nicknames, so it seems logical that denora works the same way.

@Hal9000 : I'll do. And I'll wait for the next release and then have a look to the source code to see if I can help you.
Logged
I'm currently

katsklaw

  • Supporter
  • Anope User
  • Offline Offline
  • Posts: 537
Re: exclude enhancement
« Reply #4 on: February 03, 2011, 01:47:53 PM »

@katsklaw : You're true, but irc is case-insensitive with nicknames, so it seems logical that denora works the same way.

IRC also allows several people to use the same nick, just not at the same time. It's logical to allow IRC to continue to operate that way by not assuming that they are all the same person. IRC it's self does not support nick ownership and not all networks that use Anope/Denora force nick changes/guesting. You are assuming that they do.

IRC has worked this same way since long before Denora. The only time it's safe to assume its the same person is if the nick is registered  AND enforcement is turned on, which is not always the case. If I register as katsklaw and want to be excluded but there is another user that uses KatsKlaw that I don't want excluded, your feature will then mess me up.

Perhaps we can meet in the middle and make case requirements feature optional and turned off by default.
« Last Edit: February 03, 2011, 01:52:50 PM by katsklaw »
Logged

CrazyCat

  • Anope User
  • Offline Offline
  • Posts: 155
    • French Eggdrop community
Re: exclude enhancement
« Reply #5 on: February 08, 2011, 03:28:27 PM »

You're right, having a "set case-sensitive" option might be great.
Logged
I'm currently
Pages: [1]   Go Up