summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2008-03-24Add stuff so that modules can hook users by altering a pointer in the User ↵brain
class. Note that ssl modules still bind by port, but the idea of doing this change is so we can remove that logic next git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9187 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-24And more of thembrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9186 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-24Finally change all the Version() objectsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9185 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-24Wheeeeeebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9184 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-23CAP TLS now implemented, this needs someone to make a client to test it :pbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9183 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-23Clean up user/chan modes on deoper, fix memsets off-by-1, delete[] properly ↵aquanight
in destructor git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9182 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-23These memsets cant rely on sizeof() any more, afaik. The sizeof() would give ↵brain
4 or 8, size of the pointer :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9181 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-23Whoops, take out some foolish memsets (well theyre foolish now :p)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9180 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-23This should save 128 bytes per user for non-opers. Well worth it imho for a ↵brain
reasonably large amount of unused ram. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9179 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-23Add ability to control what opertypes can set what operonly user/chan modes. ↵aquanight
This works the same way as commands, in that modes allowed by classes are added together, and * allows all. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9176 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-22Wheeee for HUGE commits. Convert all numerics to WriteNumeric so that ↵brain
OnNumeric can capture them. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9175 e03df62e-2008-0410-955e-edbf42e46eb7
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