summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2008-12-16Added the VF_VENDOR flag to m_servprotect; noticed by Johannes13special
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10896 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-15Handle file not found, and tidy up the perl.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10894 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-15Stupid linebreak.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10893 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-15Add missing copyright header.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10892 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-15Fix naming convention to be consistant. (cmd_ -> Command)w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10891 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-15Add support for freetds 0.82 which is being shipped now with newer distros, ↵peavey
and maintain compatibility for 0.64 and up. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10890 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-13Also use freenode's 470 numeric in m_banredirect.psychon
(P.S.: This also fixes a bug from the last commit) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10884 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-13m_ssl_gnutls: Log ssl errorspsychon
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10883 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-13Use freenode's 470 numeric for redirection.w00t
Note that if redirection channel is +L, then a 470 with target channel '*' will be omitted to indicate you would be redirected, but cannot. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10882 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-12Fix problem with autoconnects: don't reset NextConnectTime to a higher value ↵w00t
than it currently is, as that doesn't play very nice with multiple autoconnect values.. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10879 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-08If we can't find file.conf, search for file.conf.txt when on windows.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10872 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-08Use national charset pointer instead of RFC charset pointer. Should fix hash ↵w00t
equivilancy checking, etc. Try this, Phoenix. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10871 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-08Fix silly oversight discovered by tra26 (thanks!) where the core tries to ↵brain
handle hash providers other than plaintext by direct string comparison, allowing someone to oper up by specifying the md5 sum of an md5 password, etc! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10870 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-07Disallow any messageflood parameter where x < 2 in +f x:y, prevents moronic ↵brain
behaviour like #pokeworld are doing here on chatspike. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10869 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-07Patch to allow bindings to all ips on an ipv4 only system where the build is ↵brain
ipv6 (e.g. how debian build it) -- thanks for the patch danieldg git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10867 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-07Make an error message more verbose to help usersbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10866 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-07Fix glitch before releasebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10864 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-07Gyr!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10863 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-07Ugly ugly craq in here in the cleanup stuff. Can be done nicer with a ↵brain
template, like this git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10862 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-07national_case_sensitive_map -> national_case_insensitive_map.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10861 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-07Convert necessary match calls to use ASCII casemap.w00t
1.2 may now be made casemap-aware via a module setting national_case_sensitive_map to their own table, and resetting to the RFC table on unload. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10859 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-07Move stuff to use ASCII map where required.w00t
Also move this out of being a member totally, as it breaks (gah) and is already untidy.. to be revisited. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10858 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-07national_case_sensitive_map must be static, thanks to the match stuff being ↵w00t
static (this is a bit ugly, but necessary for now). Default to national charset map instead of rfc map, as modules may change the pointer. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10857 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-07Add InspIRCd::national_case_sensitive_map pointer, defaults to ↵w00t
rfc_case_insensitive_map. Modules may override this pointer to customise casemapping of nick/channel names. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10856 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-07Switch some stuff to use ASCII mapping rather than RFC.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10855 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-07Rename case_sensitive_map to rfc_case_sensitive_mapw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10851 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-04install .gdbargs to $(BASE) in make installbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10843 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-01Rip flood/threshold out of config classes also.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10839 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-01Remove lines_in and reset_due flood protection mechanism, recvq/sendq on ↵w00t
their own now fill this role, as we have proper penalties. This tidies up *a lot* of code, and also saves a further sizeof(time_t) + sizeof(unsigned int) per user. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10838 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-01Remove m_operflood, add privs: users/flood/no-throttle & ↵w00t
users/flood/increased-buffers. This also saves another sizeof(bool) per user. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10837 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-01Remove OverPenalty, saves sizeof(bool) per user.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10836 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-30Remove unused variable (thanks to everyone who noticed it)w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10835 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-27Don't append server name to kill reasons.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10833 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-27Forward-port: Created commit fcadb0b: Change rm to force removal for ↵w00t
configureclean target, obsoletes debian patch. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10829 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-24Add OperPrefixMode::GetPrefixRank(), so +y is ranked above all other prefix ↵w00t
modes. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10825 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-24Off-by-one without a rehash event, causes cores on loadw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10823 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-24Add m_operprefix, more simplified version of module written by Phoenix ↵w00t
(thanks!). Adds cmode +y, set on-join which grants opers an optional prefix status on the channel. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10822 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-24Don't check permission to +Q for remote users, probably fixes bug #619 ↵w00t
reported by yell0w. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10821 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-24Fix crashes in m_joinflood and m_nickflood, found by Schitz0, introduced by ↵w00t
commit f123b4f0081360e96dad620e5a143f983c1f3a04 (time()) conversion - the settings classes had pointers that were *never* initialised... git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10819 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-23Braunvieh!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10817 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-22Thread safety fixes to avoid crashes on rehash, dont reopen logs within the ↵brain
rehash thread. Put this in the safe part of the rehash operation, after the thread exits. Put a mutex around the part where the thread exits, just in case somehow there are two rehash threads exiting at the same time due to user muppetry. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10811 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-20Fix for potential crash with invalid prefixes (prefixes which are neither ↵brain
valid SID nor UID, but are a valid nickname, outdated protocol) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10810 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-17Fix recursion in QuitUserw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10809 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-16Don't burst expired X:, should help stop bounce wars..w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10808 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-10Add Phoenix to regular contributors listw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10804 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-08Module class was still called QuitBan, rename to ConnectBan for sanitybrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10799 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-08Fix a log sourcebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10798 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-04Fix malformed UID errors so that w00t can troubleshoot! :)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10796 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-02Remove +s when no snomasks are set.. bug found (indirectly) by jackmcbarn.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10793 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-02This was never supposed to be invoked on /rehash, only startup.. so move it ↵w00t
to startup only. Also remove (redundant) user arg. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10792 e03df62e-2008-0410-955e-edbf42e46eb7