[IRCServices Coding] Which route to take - Module?
Craig McLure
Craig at chatspike.net
Thu Sep 4 13:52:48 PDT 2003
dont mean to sound rude, but this isnt a 'moral' discussion, as it were, rather than saying 'I dont think this needs done', i think it would be best to help him.. its not a discussion on if its right or wrong, its a 'How to do it' discussion.. If you cant contribute to this.. please ignore this 'thread' :p
/****************************************
* Craig "FrostyCoolSlug" McLure
************* - SpamBox - **************
* InspIRCd - http://www.inspircd.org
* ChatSpike - http://www.chatspike.net
* WinBot - http://www.winbot.co.uk
****************************************/
/****************************************
* From - Robert F Merrill <griever at t2n.org>
* To - IRC Services Coding Mailing List <ircservices-coding at ircservices.za.net>
* Sent - 2003-09-04 @ 16:29:00
* Subject - Re: [IRCServices Coding] Which route to take - Module?
****************************************/
/****** - Begin Original Message - ******/
>Brent DiNicola wrote:
>
>> It wasn't an easy subject to sum up in just a few words.
>>
>> I am wanting to do something to the ircservices code, I want to change
>> the way the notice() works. I know that modifying the send.c would be
>> very frowned upon and then I got to thinking and had suggested that I
>> maybe make a module to keep the information for me. I know it's against
>> the RFC, but I am pressed against a brick wall here, I have to give
>> the users
>> an option to use PRIVMSG or NOTICE. Now, to help people move to NOTICE
>> I would like to give them the option of turning on PRIVMSG but have
>> NOTICE
>> be the default, that would get the lazy people to use NOTICE. Eventually
>> getting rid of this problem. In the mean time, I was thinking what is
>> the best
>> way to go about this without causing trouble for me and anyone else
>> who has
>> to deal with this code. Is it possible or even suggested to make a
>> module that
>> would replace the notice() from send.c with it's own, leaving the code
>> in send.c
>> alone and not causing troubles down the road. Suggestions were that I
>> make a
>> module that kept the info for each nick's setting and then if I could
>> override
>> the notice() and notice_lang() and notice_help() in send.c that would
>> keep all the
>> other code clean and not cause other troubles. I want to know what the
>> best
>> way to do this would be, I know it's against RFC but I want to move to
>> newer
>> services than the 1.4.3pre4 that we are using now and add modules so
>> that I
>> can do things down the line. They are used to having PRIVMSG and I
>> can't just
>> change it without running people off, so if I can make PRIVMSG an option
>> then I can't be blamed if they are lazy. Opinions on how to go about
>> this? I
>> know this topic has been asked before and I know your not going to
>> make it
>> part of your code, I just wanted to know from the people who know the
>> code
>> really well what the best route to take would be to do the least
>> amount of
>> damage. (And if someone has done this.. please let me know what you did,
>> examples would rock)
>>
>> Thanks
>>
>> Brent
>>
>>
>>
>> ----------------------------------------------------------
>> | Brent DiNicola |
>> | The Whitewolf of Immyrr |
>> | <elric at elric.net> |
>> | http://www.melnibone.net |
>> | Disclaimer: Any opinions expressed here are |
>> | from my dog. Any liabilities fall to the dog. |
>> -----------------------------------------------------------
>> ------------------------------------------------------------------
>> To unsubscribe or change your subscription options, visit:
>> http://www.ircservices.za.net/mailman/listinfo/ircservices-coding
>>
>>
>
>Services is not the place to fix broken clients, and any client which
>doesn't display notices correctly is broken. If someone wants to see
>notices differently, they can either
>a) change their client or in the case of webtv b) change the ircd
>
>services is the wrong thing to change
>
>------------------------------------------------------------------
>To unsubscribe or change your subscription options, visit:
>http://www.ircservices.za.net/mailman/listinfo/ircservices-coding
>.
/******* - End Original Message - *******/