summaryrefslogtreecommitdiff
path: root/src/modules
AgeCommit message (Collapse)Author
2008-02-02Move some stuff to usermanager, remove a little header insanity, remove ↵w00t
trace because it's still less useful than a chocolate fireman. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8790 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-02Check for empty prefixes, and close server connections attempting to use themw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8788 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-02Patch: /rehash (not /rehash ssl) will now rebind SSL ports, but not dh ↵w00t
params etc. Closes #391. Thanks dz. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8786 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-31applink.c should be included in the link command, not #included in the sourcefez
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8773 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-30Merge in patches to fix bug #487, submitted by dz, thanks :)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8769 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-27Forward port bug #484 patch from John, thanksbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8760 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-27You left out the module name in the command, aquanight ;)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8756 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-27Change API OnOperCompare to OnPassCompare, password hashing is now available ↵aquanight
for <connect:allow>, <power die= restart=>, <title> (m_customtitle.so), <vhost> (m_vhost.so), this works the same was as for <oper>: load m_password_hash.so (after all hasher modules, of course), and add hash="md5/sha256/whatever" to the relevant tag. Also fix m_callerid.cpp crashing on unload. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8755 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-26Fix for bug found by eLement, when an oper is on a notify list and the oper ↵brain
sets +Q, then the watch list for that user goes into an undefined state due to the metadata not being correctly cleared from the user in m_watch OnUserQuit. Thanks :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8752 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-25Fix a typo in an m_callerid error message, and add m_callerid and m_filter ↵aquanight
<exemptfromfilter> to example conf. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8748 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-21win32 compile error fixbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8747 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-21win32 compilation errors: shadowing of variable 'i' isnt a good ideabrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8746 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-21Win32 compilation fixesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8743 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-20Update m_filter* to 1.2 API (it was still using Implements()), also ↵aquanight
implement <exemptfromfilter channel="#blah"> to exclude channels from filtering. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8742 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-19Fix m_callerid not adding the usermode.aquanight
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8738 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-19Initial implementation of callerid, provided by aquanight. Untested as of ↵w00t
yet. Probably could use a little of the /watch love to speed up removals in the future. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8735 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-17Remove a redundant method here, call the mode manager directlyw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8732 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-17Fix.. snomask O is already taken (ffs) so use A insteadw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8729 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-17Remove InspIRCd::WriteOpers in favour of snomask Ow00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8728 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-17Move a number of methods from class InspIRCd to class UserManagerw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8726 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-16Validate <server:id> on startup if provided, thx Brainw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8721 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-13First UserManager overhaul: Move clone counts out of InspIRCd & User.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8705 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-13I think (and Brain concurs) that B for blockcaps and P for permanent make a ↵w00t
lot more sense, so 1.2 blockcaps gets mode B. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8701 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-10Add goodchan tags for m_denychans: Allows the use case of forbidding ↵w00t
*warez*, and allowing #thisreallyisntwarez, or whatever. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8696 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-10Header update: 2007 -> 2008w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8694 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-10Erase their quit count on banning (so they get another 10 or whatever ↵w00t
attempts, and not banned instantly on one quit after that ;p) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8693 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-10Add m_quitban: Bans IPs that connect/disconnect more than X times per 3600 ↵w00t
seconds for a configurable duration. Default is 10 quits, 10 minute ban. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8692 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-10Add optional SAPART reason. No prefixing done yet.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8689 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-10Register RLine factory on load, unregister it on unload.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8686 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-10Fix bug in rline, xline derived class declared itself as xline type 'K' not 'R'brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8685 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-09Fix some random crash due to my not knowing how to use STL *shrug*w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8684 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-09Correct a few things, and yay for code that randomly decides to work.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8683 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-09Utterly untested RLINEw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8682 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-09Flesh this out a little more. Create our derived XLine and factory. Doesn't ↵w00t
implement a command yet. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8681 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-09Add RLINE skeleton module to move it between PCs (I'm lazy :p)w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8680 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-09Fix for bug #464, taxonomy output spooled to target not to requestor, ↵brain
reported by John, thanks :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8678 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-09Add OnExpireLine hook to xline db stuffw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8677 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-09Remove useless debug from here (finished with it), and add some debug that ↵w00t
makes sense :P git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8673 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-08Fix problem #2 (this means that xlinedb is essentially working and ↵w00t
feature-complete..). XLine subsystem still seems to be having rather screwed problems per bug #457. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8671 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-08Fix problem #1 by setting a lock on writes when we're reading. This means no ↵w00t
more stupid/pointless writes. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8670 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-08xline.db reading. Two things I notice are funky in some way about this.. 1) ↵w00t
db module needs to know when lines are being added because of db read (else it generates spurious writes), 2) somehow, my E:Lines in my db turned into glines. Other than that, it seems to have worked. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8669 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-08Code to write xline.db.. reading is not yet handled.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8668 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-08Very early on version of xline database module, doesn't yet physically store ↵w00t
bans.. but does keep track of the ones that exist etc. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8667 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-08Fix careless compile error caused by forward port of patch earlier today.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8666 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-08Forward port r8664: bind server sockets on /rehashw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8665 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-07Correct typow00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8659 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-07git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8657 ↵w00t
e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-07Second half of usercount fix..w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8656 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-07Fix up some usercounts stuff.. to be tested.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8655 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-0690% sure this fix will mean SHA256 works consistantly. Was a problem in ↵w00t
SHA256Update(). git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8651 e03df62e-2008-0410-955e-edbf42e46eb7