summaryrefslogtreecommitdiff
path: root/src/modules
Commit message (Collapse)AuthorAgeFilesLines
* Use pkg-config to search for gnutls rather than the now-removed libgnutls-configGravatar danieldg2009-06-131-3/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@11408 e03df62e-2008-0410-955e-edbf42e46eb7
* Backport r11224, which fixes issues with /lusers oper counts and /who * o ↵Gravatar dz2009-03-151-1/+1
| | | | | | (and perhaps other things) when opers are introduced during bursts. git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@11226 e03df62e-2008-0410-955e-edbf42e46eb7
* Backport r11196 (fix check for blank CHGHOST). Reported by Taros.Gravatar w00t2009-03-101-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@11197 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix a crash in m_conn_waitpong, spotted by Obi_Wan.Gravatar dz2009-03-011-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@11160 e03df62e-2008-0410-955e-edbf42e46eb7
* Backport r11144: m_uninvite and m_ssl_oper_cert should be marked as ↵Gravatar special2009-02-232-2/+2
| | | | | | VF_COMMON and returning CMD_LOCALONLY respectively git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@11145 e03df62e-2008-0410-955e-edbf42e46eb7
* Commands that only give a response locally should not be propagated ↵Gravatar special2009-02-231-1/+1
| | | | | | globally, especially if not flagged as VF_COMMON (specifically, m_sslinfo). Found by satmd. git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@11142 e03df62e-2008-0410-955e-edbf42e46eb7
* Use extended open method instead of the basic. Because basic always does ↵Gravatar peavey2009-02-221-1/+1
| | | | | | SQLITE_OPEN_READWRITE|SQLITE_OPEN_CREATE and we just want SQLITE_OPEN_READWRITE so we can warn if the db does not exist, rather than create an empty db. git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@11137 e03df62e-2008-0410-955e-edbf42e46eb7
* <sqlauth:useident> logic was reversed, so it used nick when yes and vice versaGravatar peavey2009-02-221-17/+16
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@11136 e03df62e-2008-0410-955e-edbf42e46eb7
* This is safe to merge, from Darom's uninitialised vars patch bug #701Gravatar brain2009-02-131-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@11097 e03df62e-2008-0410-955e-edbf42e46eb7
* Check if dest user is local, since this is the user we are going to GetExt ↵Gravatar peavey2009-02-122-5/+2
| | | | | | on, so the check was reverse. Fixes bug #716 reported by Darom git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@11094 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix Warned not being correctly initialised in one of the treeserver ↵Gravatar w00t2009-02-091-0/+2
| | | | | | constructors, reported by Darom in #701. git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@11072 e03df62e-2008-0410-955e-edbf42e46eb7
* backport r11027 from trunk: fix little typo in syntax hint, type => actionGravatar peavey2009-02-041-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@11028 e03df62e-2008-0410-955e-edbf42e46eb7
* Backport r11000, properly check for handshake completion in m_ssl_gnutls. ↵Gravatar dz2009-01-251-1/+1
| | | | | | Apologies for missing credit on the last commit: fixes bug #692 reported by Namegduf. git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@11001 e03df62e-2008-0410-955e-edbf42e46eb7
* Rename it too, to avoid a clashGravatar brain2009-01-221-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@10986 e03df62e-2008-0410-955e-edbf42e46eb7
* Simple crossport from m_ldapauth, requested by Chankster on the forums. ↵Gravatar brain2009-01-221-5/+7
| | | | | | Allow the userfield value, to validate against ident/pass rather than nickname/pass. git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@10985 e03df62e-2008-0410-955e-edbf42e46eb7
* Backport r10954 from trunk:Gravatar peavey2009-01-091-7/+7
| | | | | | | Change /CHECK <#channel> to correctly report timestamp since it might have been TS synced after creation. git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@10956 e03df62e-2008-0410-955e-edbf42e46eb7
* Backport nicer error message from 1.2Gravatar brain2009-01-071-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@10951 e03df62e-2008-0410-955e-edbf42e46eb7
* Backport m_auditorium fixes from r10944Gravatar dz2009-01-041-5/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@10945 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix this module always causing next_call to be set to userrec->expire ↵Gravatar peavey2009-01-031-0/+1
| | | | | | causing registration timeouts in worse cases and always a considerable connect delay. git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@10937 e03df62e-2008-0410-955e-edbf42e46eb7
* Add missing argument to time() - it doesn't work like SI::Time()..Gravatar w00t2008-12-121-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@10881 e03df62e-2008-0410-955e-edbf42e46eb7
* Backport autoconnect fix: don't delay autoconnects if a higher value than we ↵Gravatar w00t2008-12-121-1/+3
| | | | | | already have set comes along, it's unhelpful. git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@10880 e03df62e-2008-0410-955e-edbf42e46eb7
* Don't let an already-existing CBan be re-added.Gravatar w00t2008-12-121-0/+10
| | | | | | This could be particularly painful on networks that split fairly often. git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@10877 e03df62e-2008-0410-955e-edbf42e46eb7
* Disallow any messageflood parameter where x < 2 in +f x:y, prevents moronic ↵Gravatar brain2008-12-071-1/+1
| | | | | | behaviour like #pokeworld are doing here on chatspike. git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@10868 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix warning that added by removing readable ambiguity in order of operations.Gravatar w00t2008-11-271-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@10832 e03df62e-2008-0410-955e-edbf42e46eb7
* Maintain backwards compatibility with older 1.1, so we don't add a second ↵Gravatar w00t2008-11-271-2/+2
| | | | | | Killed() around the reason, thanks jilles. git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@10831 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove server name prefix from kill messages, low-priority cosmetic fix.Gravatar w00t2008-11-271-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@10830 e03df62e-2008-0410-955e-edbf42e46eb7
* Backport 8a7abaf: don't check permission to +Q if not a local user, fixes ↵Gravatar w00t2008-11-241-10/+13
| | | | | | bug #619 git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@10820 e03df62e-2008-0410-955e-edbf42e46eb7
* Backport r10791, m_watch was deleting the wrong user's watcher listGravatar dz2008-11-031-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@10794 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix an uninitialised variable in ConfigReader::GetError()Gravatar w00t2008-11-021-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@10789 e03df62e-2008-0410-955e-edbf42e46eb7
* Backport leak on /rehash fix.Gravatar w00t2008-11-021-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@10788 e03df62e-2008-0410-955e-edbf42e46eb7
* Backport race condition fixes.Gravatar w00t2008-10-312-0/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@10761 e03df62e-2008-0410-955e-edbf42e46eb7
* Revert "Backport: Remove user no longer being watched, not the quitting one. ↵Gravatar w00t2008-10-311-1/+1
| | | | | | | | | | | Fix from Szymek (thanks), tested by Darom." This reverts commit e121279e1a71b12e283c5849e0b635fed10512da. As on trunk, this is most likely incorrect, and needs further review. git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@10758 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix a low risk race condition which could result in crashes, spotted by ↵Gravatar w00t2008-10-281-6/+33
| | | | | | Szymek - big thanks! :) git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@10747 e03df62e-2008-0410-955e-edbf42e46eb7
* Backport: Watch visibility test was working the wrong way. Patch from Darom.Gravatar w00t2008-10-281-4/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@10736 e03df62e-2008-0410-955e-edbf42e46eb7
* Backport: Remove user no longer being watched, not the quitting one. Fix ↵Gravatar w00t2008-10-271-1/+1
| | | | | | from Szymek (thanks), tested by Darom. git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@10729 e03df62e-2008-0410-955e-edbf42e46eb7
* Better fix for bug #628Gravatar brain2008-10-271-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@10725 e03df62e-2008-0410-955e-edbf42e46eb7
* Numerous fixes for m_dccallow - only the first banfile tag mattered, ↵Gravatar special2008-10-151-9/+18
| | | | | | 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/branches/1_1_stable@10647 e03df62e-2008-0410-955e-edbf42e46eb7
* Backport leak fix on helpop config reading, thanks Macgyver.Gravatar w00t2008-10-081-4/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@10632 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix for bug #614 reported by jdhore, thanks. NOTE: The numerics for /MODULES ↵Gravatar brain2008-10-051-3/+3
| | | | | | have been changed in 1.1 to match those in 1.2, now 703 and 704. This is required because conspire seems to want to interpret the old numeric for sasl even if sasl isnt available (numeric 900) git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@10624 e03df62e-2008-0410-955e-edbf42e46eb7
* Replace the IP (in addition to hostname) for CGIIRC clients; fixes glines ↵Gravatar special2008-09-291-17/+16
| | | | | | and zlines on IPs affecting cgiirc users. Thanks to Saz|Laptop git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@10608 e03df62e-2008-0410-955e-edbf42e46eb7
* Backport r10602: potentially unsafe comparison in SSLGravatar w00t2008-09-261-0/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@10603 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix for bug #610 reported by ankitGravatar brain2008-09-241-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@10595 e03df62e-2008-0410-955e-edbf42e46eb7
* Backport r10517: Fix KILL server-notice duplicationGravatar aquanight2008-09-111-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@10518 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix an uninitialised variable used for /stats z, also fix the Funky ↵Gravatar w00t2008-08-271-4/+4
| | | | | | Maths(tm) in /stats z (both thanks to psychon). git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@10328 e03df62e-2008-0410-955e-edbf42e46eb7
* Unbreak build.Gravatar w00t2008-08-271-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@10322 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix ident using uninitialised memory meaning that ident lookups would ↵Gravatar w00t2008-08-271-0/+2
| | | | | | sometimes prematurely finish (NOT good). Found and fixed by psychon. git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@10321 e03df62e-2008-0410-955e-edbf42e46eb7
* Backport r10319Gravatar w00t2008-08-271-1/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@10320 e03df62e-2008-0410-955e-edbf42e46eb7
* Prevent redundant mode changesGravatar w00t2008-08-241-3/+13
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@10255 e03df62e-2008-0410-955e-edbf42e46eb7
* Backport r10202Gravatar w00t2008-08-211-0/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@10203 e03df62e-2008-0410-955e-edbf42e46eb7
* Apply to clictx tooGravatar brain2008-08-181-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@10163 e03df62e-2008-0410-955e-edbf42e46eb7