summaryrefslogtreecommitdiff
path: root/src/modules
AgeCommit message (Collapse)Author
2008-10-28Add option to allow +q to +q users, +a to +a users.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10738 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-28Watch visibility test was working the wrong way. Patch from Darom.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10735 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-27Add user/channel mode synchronisation detection to CAPAB - link will now ↵w00t
drop if modes differ in some way (one side requires param, other doesn't, etc). Same for user modes. This will not affect services. Side effect: Modes::ChanModes() -> Modes::GiveModeList(ModeMasks), mode list is formatted identically for both MASK_CHANNEL and MASK_USER. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10733 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-27Be a hell of a lot more strict about malformed UID commands. We've always ↵w00t
been strict in the past, for some reason, we were previously very permissive about broken UID - there is no reason to be. If they're fucking up, then make them fix their problem :) (this is also a lazy man's fix to get around bad pointers/etc by deleting users outside of culllist). git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10731 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-27Fix redundant stats snotice, thanks dz.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10730 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-27Remove user no longer being watched, not the quitting one. Fix from Szymek ↵w00t
(thanks), tested by Darom. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10728 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-26fix for banwalk and keys reported by mix941peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10719 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-25Fix a number of commands to have max_params field. This means in practice, ↵w00t
that colons on gline reasons (etc) are no longer mandatory, provided the command tells the core how many parameters at max it has. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10718 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-25Fix <disabled:umodes> interfering with /unloadmodule m_implementing_a_umode, ↵w00t
aquanight, you didn't look quite far enough into this - the problem was m_cloaking (e.g.) returning MODEACTION_DENY if src != dest, which was very very oooold behaviour. Seems to work fine now. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10713 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-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 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-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-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-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-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-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-14Remove outdated TODObrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10641 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-13Don't send an override notice if no modes were actually applied, thanks Ankit.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10640 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-10Fix messageflood not working (bug #615). Big thanks to dz.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10636 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-10Update comment that says we dont send simplemodes in FJOIN, we do now.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10635 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-08Apply patch from jmb, for bug #593. Snotices on override are now sent ↵w00t
regardless of noisy setting. Done in preparation for b2 sometime soon. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10633 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-08Fix memory leak in helpop config loading, thanks Macgyver.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10631 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-08Fix crash caused by me being retarded.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10630 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-08Fix: call OnRawSocketAccept for server connections. This isn't yet done in ↵w00t
an ideal fashion, but it should work for now. Fixes bug #616, reported by dz. Thanks. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10629 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-05Some more safety checks to catch out invalid client introductions (e.g. from ↵brain
atheme when its too old (for some reason its no longer checking the protocol ID for this)) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10623 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-04Header tidyups. Apart from module to module API stuff and external deps, ↵brain
modules dont really need to include much but inspircd.h (and xline.h if they create new xline factories) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10622 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-04We are including tons more than we need to here, its a mess :pbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10621 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-04Fix for bug #613 reported by Casey, m_regex_glob's parameters were back to ↵brain
front! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10620 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-02Comments here toobrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10618 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-02Mention ulines toobrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10617 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-02Comment on potentially confusing codebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10616 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-02The module hook is kinda required.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10615 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-02Fix for bug #601brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10614 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-30Some suggestions from jilles about handling unknown prefix errors, and some ↵brain
ideas of my own about handling unknown modes in client introduction to prevent leaving a desynched user on the source server git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10613 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-29Make topic optional for permanent channels tags.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10610 e03df62e-2008-0410-955e-edbf42e46eb7