summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-03-22Add WriteNumeric() to User and OnNumeric module event. Note that modules do ↵brain
not change the numeric text on the fly, as this involves needless allocations for numerics that arent being changed, so instead they block the original numeric and send out their own when needed. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9174 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-22Fix memory leak if user quits in the middle of sasl AUTHENTICATE stepsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9173 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-22Add abort fixbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9172 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-22This works now! (well im sure we'll find something else broken) -- thanks ↵brain
nenolod :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9171 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-22Fix for compile errorbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9170 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-22'AUTHENTICATE C'? Why not authenticate C++ :)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9169 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-22Patch for IAL abort sequence from nenolodbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9168 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-21Removal of server prefix from AUTHENTICATE reply, patch courtesy of nenolodbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9167 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-21Patch from nenolodbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9166 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-21Add debugbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9165 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-21Fix recommended by nenolod, silly mistake apparently :Pbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9164 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-21Sasl stuff from nenolod, with a bit of luck this is closer to the charybdis ↵brain
implementation git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9163 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-21Only valid targets for encap are now server idsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9162 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-21Fix encap bug, when a target is wildcard we shouldnt abort propogatingbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9161 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-21That stuff belongs in OnPostconnect or it will be sent too earlybrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9160 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-21When a user registers and SASL has given them accountname metadata push this ↵brain
metadata out on registration. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9159 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-21Add return valuebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9158 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-21Add 906, sasl abortedbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9157 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-21Don't send 'sasl successful' numeric on re-identifications after registrationbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9156 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-21Rejig numerics to not step on the 90x range for SASLbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9155 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-21If the user hasnt sent CAP REQ sasl, do nothing if AUTHENTICATE is sent by ↵brain
that user git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9154 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-21Generate warning if m_services_account.so and m_cap.so are not loaded with ↵brain
m_sasl.so to log file. Tidy up debug output. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9153 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-21Forgot to commit thisbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9152 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-21Whoops, forgot to tie ENCAP into receiver in treesocketbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9151 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-21This seems to play nice now, but it seems we may have to redo it all AGAIN :(brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9150 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-21Add capability for m_services_account to broadcast login events, with the ↵brain
user who is logging in and their login name git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9149 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-21Patch to change MODULES numerics, so we dont get a collision when using ↵brain
AUTHENTICATE. Thanks nenolod. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9148 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-21Not finished yet. currently, this passes AUTHENTICATE messages to and from ↵brain
services and a client using ENCAP, and makes itself available via CAP git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9147 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-21ENCAP stuffbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9146 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-21Add support for CAP in uhnames, it has the token 'userhost-in-names'. ↵brain
Comments welcome. Add a function to m_cap.h, "GenericCapHandler" which allows a one-line definition of a CAP token that just adds a metadata tag, as used by NAMESX and UHNAMES. Saves code duplication. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9145 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-21Convert to new apibrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9144 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-21convert to new apibrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9143 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-21Remove Prioritize(), no longer neededbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9142 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-21Make m_auditorium use the new api (this is MUCH easier to understand)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9141 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-21Add support for OnNamesListItem, discussed with w00t a few days ago. This ↵brain
makes NAMESX etc a LOT cleaner and safer. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9140 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-19Ricer up AllModulesReportReady further. If one fails, all fail, so returning ↵peavey
false on first fail will save subsequent reduntant calls. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9138 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-19And one more tweak to this.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9137 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-19Fix OnUserRegister() not getting called for if USER sent before NICK on ↵peavey
registration. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9136 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-19Final tweak to AllModulesReportReady, should be there now.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9134 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-19Nak vector thingbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9133 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-19Damnit, its right now. im going to bedbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9131 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-19Whoops, and dont get the comparison backwards. dont look at me like that, ↵brain
its almost 3am :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9130 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-19Silly silly, AllModulesReportReady returns true when ONE module reports ↵brain
ready. Fixed here :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9128 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-18oh, DOHbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9127 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-18Crash fixes from nenolodbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9126 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-18Add support for CAP to this via multi-prefix. NOTE, the OnNamesList for this ↵brain
and others want refactoring, because theyre craq. Ask me sometime about the new way we have in mind for this. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9125 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-18Apply CAP ACK/NAK stuff from nenolod, thanks :)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9124 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-18Merge in patch by nenolod for CAP CLEARbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9123 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-18Implement CAP LISTbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9122 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-18Support CAP LSbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9121 e03df62e-2008-0410-955e-edbf42e46eb7