summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2008-10-25Fix another connect class bug on rehashw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10712 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-25Use TargetTypeFlags instead of int in a few places.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10711 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-25As we have an enum for type, why not ..use it?w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10710 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-25Note where to find the docs.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10704 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-25Nuke space indents from orbit. (die!!)w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10703 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-25Move spanningtree to use OnChangeLocalUserHost instead of OnChangeHost, this ↵w00t
makes more sense, and also means we can call OnChangeHost for remote clients too, making it actually match it's documentation for the first time ever! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10702 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-25(sort of..) Revert commit 7736e920fe6ccaf9ad1984afc70db19efd4fb8cd - remove ↵w00t
dupe checking on connect classes. Now, we just delete ones with refcount 0 on rehash, and add new ones. Connection can only match a non-disabled class, so most of the braindamage should be gone from here, without causing wild pointer fun.. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10701 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-24Consistancy: Allow opers to +L to a nonexistant channel, as we allow opers ↵w00t
to bypass ops restriction. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10700 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-24Remove (redundant and O(n)) error checking on +L, we catch the errors on ↵w00t
join nowdays anyway, so this was a throwback to the "old days". Also, add two new restrictions on +L: target channel must exist, and setter *must* be opped on target channel. Avoids redirect spamming and other nefarious things. Additionally, reworded numerics a bit to make it more generic, as we may forward for more than just +l in the future. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10699 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-24Fix a plausible memory leak on rehash, thanks dz.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10698 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-24Fix broken stuff.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10697 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-23Add <showwhois:showfromopers> setting, requested by MacGyver. Can be useful ↵w00t
if you don't want suspicious people to know you're watching them. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10696 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-23Revert earlier time() -> SI->Time() diff for now, this causes problems with ↵w00t
dns.cpp in mysterious ways.. seemingly a bad pointer there somehow..? git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10695 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-23Make this un-rehashable due to complications/ugliness involved with keeping ↵w00t
it this way (still unusable, please don't use) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10694 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-23Add <showwhois:opersonly>, allows server admins to unlock umode +W use for ↵w00t
regular users. Users without users/auspex priv (not opered, or just not given) will see display host instead of real host always, though. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10693 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-23Add/document channels/set-permanent priv, and tie setting of +P to it.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10692 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-23Patch from Namegduf converting all instances (where possible) of time() -> ↵w00t
ServerInstance->Time(). Thanks! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10691 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-23Patch from dz to fix bug 622 (config errors build up from /rehash to ↵w00t
/rehash), thanks! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10690 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-22Remove debug logging, problem over..w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10688 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-22Fix MacGyver's rehash woes..w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10687 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-22Bit of debug in case this goes wrong again...w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10686 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-22Only announce Q:Line hits on NICK from unregistered users, thanks satmd.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10685 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-22First set our group id, then the user id, because we need to be root to set thepsychon
group (else it always fails with EPERM). Plus also call setgroups(0, NULL); to get rid of the supplementary groups. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10684 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-20Remove an extremely noisy piece of debug on startup/rehash - this code ↵w00t
works fine anyway git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10683 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-20Implement <security:runasuser> and <security:runasgroup> - allows for ↵w00t
set(g|u)id to drop privs after starting, which can be useful for people who want to bind privileged ports without exposing their anus to a giant cucumber. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10682 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-19Yes, Square Meater is a real cow breed. Only aussies would come up with ↵brain
something so funny. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10679 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-18Convert a number of modules to using privs.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10676 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-18Tie settings in mode and whowas to privs.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10675 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-18Tie a number of /who settings to servers/auspex and users/auspex respectively.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10674 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-18Tie display of realhost in USERHOST to users/auspex priv.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10673 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-18Tie /stats that aren't explicitly marked for users into servers/auspex.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10672 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-18Tie module version display to servers/auspex priv.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10671 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-18Add priv channels/high-join-limit.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10670 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-18Use servers/auspex and users/auspex privs where needed.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10669 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-18Implement channels/auspex priv for /names and /list.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10666 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-18Make use of privs for PRIVMSG also.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10663 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-18Working privs implementation, and example usage in NOTICE for mass messaging.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10662 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-18Migrate oper commands to an std::set, add a set for privs also. Change the ↵w00t
API a bit. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10661 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-18Add skeleton of HasPrivPermission.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10660 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-18Patch from Namegduf to use established numerics for HELPOP instead of notices.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10659 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-17Don't neglect calling User::CheckClass after SetClass, so that users don't ↵w00t
end up lingering with a NULL class if they shouldn't. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10656 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-17Remove space indenting. (Brain, *smack* :P)w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10655 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-17Remove the duplicate checking/disabled setting of <connect> craq, there is a ↵w00t
(better) way to do this, which is to hunt for a new connect class on all users once /rehash happens. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10654 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-17Add notices on successful add or remove to callerid list.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10653 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-17Patch from dz for bug #620, thanks.aquanight
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10652 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-16possible fix for bug #623, reported by MacGyver. Untested please test :Dpeavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10651 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-15Numerous fixes for m_dccallow - only the first banfile tag mattered, ↵special
improper behavior with no banfile tags, incorrect check for adding yourself to the dccallow list, and several cosmetic issues. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10646 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-15m_ssl_openssl is sending log messages and calling itself m_ssl_gnutls..special
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10645 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-15Add <hidechans:affectsopers>, allows networks to hide channels of a +I user ↵w00t
even from opers, for added privacy. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10644 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-15Modify $copy macros in comments, fixes bug #617brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10643 e03df62e-2008-0410-955e-edbf42e46eb7