[IRCServices] A ilttle suggestion for set mlock

Will dirtymac at datasync.com
Fri Aug 3 20:54:00 PDT 2001


On Fri, 3 Aug 2001, Strider wrote:

> You could always just make it append to the mode list if you use an
> operator, and remove if no operator is used.
> 
> ex:
> /chanserv set #foobar mlock +nt-ks
> would result in +nt-ks being set initially
> /chanserv set #foobar mlock +i
> would then result in +nti-ks
> /chanserv set #foobar mlock -i
> would then result in +nt-iks
> /chanserv set #foobar mlock i
> would then result in +nt-ik
> 
> Hope this wasn't too confusing, heh.
>
> Beau (Strider) Steward

that is a bit confusing. after adding and removing some flags you could
potentially end up with something like +nts-ilkmcaB. i'm not familar with
the internals of how ChanServ checks channel modes, but could that lead to
a tiny bit of slowness?

--
Will