6932 Commits

Author SHA1 Message Date
Jackmcbarn
a18c7c4203 Fix bug where an empty parameter is generated when input to a tokenstream ends in a colon 2011-01-22 14:13:16 -05:00
Dennis Friis
aceb2c4846 Backport a bit of the backgroundtimer handling from 1.2 to better handle large sets of expiring tbans. Reported by wonderwal. 2010-04-12 19:23:13 +02:00
peavey
638ef62cd4 Don't implement --atleast-version ourselves, incorrectly
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@12631 e03df62e-2008-0410-955e-edbf42e46eb7
2010-03-13 10:26:40 +00:00
dz
666f0da6c6 backport r12164, fixes bug #921 reported by Sm0ke0ut
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@12167 e03df62e-2008-0410-955e-edbf42e46eb7
2009-11-21 16:35:53 +00:00
brain
9f6958bd90 Added ircdriven at request of zomg
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@12114 e03df62e-2008-0410-955e-edbf42e46eb7
2009-11-12 23:34:29 +00:00
w00t
4cf21ccf54 Bump to 1.1.23
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@11529 e03df62e-2008-0410-955e-edbf42e46eb7
v1.1.23
2009-08-16 15:27:38 +00:00
w00t
fabedcb1d7 System includes to make newer gcc happy.
Until gcc 4.5, when it all gets rearranged again.

git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@11495 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-05 11:32:45 +00:00
w00t
4b595170f5 Patch to allow configure to pick up OpenSSL on CentOS/RH, thanks to maniaphobic. Fixes bug #893.
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@11446 e03df62e-2008-0410-955e-edbf42e46eb7
2009-07-30 11:28:57 +00:00
danieldg
42ec110296 Use pkg-config to search for gnutls rather than the now-removed libgnutls-config
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@11408 e03df62e-2008-0410-955e-edbf42e46eb7
2009-06-13 17:45:30 +00:00
danieldg
15e2efbc45 Backport of r11328: Fix crash from unregistered users joining a channel
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@11345 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-02 17:48:01 +00:00
special
735ad3fc52 Backport of r11294 (bug #827); ircd fails to start on platforms with unsigned char.
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@11295 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-09 08:09:53 +00:00
dz
5d3de8ba9c Backport r11224, which fixes issues with /lusers oper counts and /who * o (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
2009-03-15 19:28:14 +00:00
w00t
8d0c69d4a5 Backport r11196 (fix check for blank CHGHOST). Reported by Taros.
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@11197 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-10 20:44:26 +00:00
dz
6d289cfce4 Fix a crash in m_conn_waitpong, spotted by Obi_Wan.
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@11160 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-01 13:21:00 +00:00
special
a44ea7ec45 Backport r11144: m_uninvite and m_ssl_oper_cert should be marked as 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
2009-02-23 13:35:12 +00:00
special
39dbc6f064 Commands that only give a response locally should not be propagated 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
2009-02-23 13:17:43 +00:00
peavey
8feab39ff9 Use extended open method instead of the basic. Because basic always does 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
2009-02-22 02:54:19 +00:00
peavey
a19cdb31b1 <sqlauth:useident> logic was reversed, so it used nick when yes and vice versa
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@11136 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-22 02:54:18 +00:00
w00t
f4da6b69c3 Revert "Merge in nick length patch from Darom, fixing bug #700, thanks!"
This causes an off-by-one somewhere, and I am not game enough to try diagnose this in a stable branch.
This reverts commit eb1be339acd7454f44597f8e150a1ba7e3da7e33.

git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@11099 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-13 12:11:00 +00:00
brain
cfc1a83377 This is safe to merge, from Darom's uninitialised vars patch bug #701
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@11097 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-13 09:06:18 +00:00
peavey
645b8d0bc7 Check if dest user is local, since this is the user we are going to GetExt 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
2009-02-12 19:16:39 +00:00
w00t
453050a6b6 Three commits and I'm still going, dammit.
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@11076 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-09 19:02:32 +00:00
w00t
22b035ea6a Fix compile.
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@11075 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-09 18:56:02 +00:00
w00t
8d29aae701 BNow with less fucked up goodness(tm). Backport multiplexing fixed kqueue from 1.2, thanks to psychon!
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@11074 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-09 18:47:46 +00:00
w00t
2bfbecbf26 Move z:line checks before class checks, allowing for (silent) removal of people from a network.
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@11073 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-09 16:34:37 +00:00
w00t
f5247e3690 Fix Warned not being correctly initialised in one of the treeserver constructors, reported by Darom in #701.
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@11072 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-09 16:34:35 +00:00
brain
70692d5ff0 backport fixes that 1.2 already has which whack an invite if the user is invited but banned etc
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@11071 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-09 12:48:55 +00:00
brain
de6bc1182e Catch SIGXFSZ here too (for operating systems and filesystems that dont support larger files than 2gb)
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@11068 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-09 09:20:15 +00:00
brain
183b4f70e2 Merge in nick length patch from Darom, fixing bug #700, thanks!
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@11056 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-08 16:25:23 +00:00
brain
ca2332bbb0 Backport reenterant signal handler from 1.2, fixes bug #705 reported by Darom, and possibly many other small crashes initially instigated by a SIGHUP.
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@11038 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-07 17:20:16 +00:00
danieldg
54937c8d0f Fix compile error
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@11037 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-07 00:35:50 +00:00
brain
11aef13baf Fix bug #707, topic truncation of last two characters spotted by Stealth, thanks
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@11036 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-06 23:57:53 +00:00
brain
ba75e09f12 Patch for bug #704 by Darom, allows for 64 bit file offsets, so that signal 25 isnt raised if there is a 2gb logfile (really, WATCH YOUR LOGS)
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@11034 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-06 23:48:20 +00:00
peavey
ea4695aa04 backport r11027 from trunk: fix little typo in syntax hint, type => action
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@11028 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-04 10:22:40 +00:00
w00t
cbbb5ba03f Fix a small memory leak in inspsocket, thanks to Darom for the patch! Fixes bug #699.
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@11026 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-03 21:09:41 +00:00
w00t
edbd23cc9d Patch fixing select to handle read/write events at the same time, from Skip (austnet). Related to bug #634.
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@11019 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-31 17:56:55 +00:00
brain
acc8e5eea2 Backport from trunk, this is also lacking from the trunk backport and does the same as in epoll
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@11017 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-31 16:11:43 +00:00
brain
c9546a9443 Include patch from Darom for sync error on burst in 1.1, backported from trunk; fixes bug #634
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@11015 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-31 15:51:07 +00:00
peavey
e6e3de2377 Manually backport r11008 to stable:
===================================
    Fix the poll socketengine to actually work.
    The old implementation tried to use holes for unused entries in the array for
    poll() and the OS replied with POLLNVAL to which we replied with 100% CPU.
    Improvements:
    - It does compile!
    - It works

git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@11010 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-27 22:25:11 +00:00
dz
27c4e85b4f Backport r11000, properly check for handshake completion in m_ssl_gnutls. 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
2009-01-25 05:51:34 +00:00
brain
762ed13640 Rename it too, to avoid a clash
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@10986 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-22 20:31:52 +00:00
brain
08220ebcd3 Simple crossport from m_ldapauth, requested by Chankster on the forums. 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
2009-01-22 20:30:53 +00:00
w00t
15a1cf5ec4 Fix configure check to prompt whether or not to use poll for 2.4 kernel or libc (or extremely old BSD, etc)
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@10965 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-16 22:24:52 +00:00
w00t
99f729b991 Complain more loudly (to opers) about remote JOIN with no TS.
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@10957 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-09 21:49:23 +00:00
peavey
0b1251dc3a Backport r10954 from trunk:
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
2009-01-09 21:11:50 +00:00
brain
99dd677417 Backport nicer error message from 1.2
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@10951 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-07 18:35:42 +00:00
brain
403f6ca146 Friendlify error message telling the user to install gnutls-bin
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@10947 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-04 19:32:48 +00:00
w00t
23cd034320 Revert "Fix gnutls detection, wrong var was set, thanks SnoFox"
This reverts commit 334685f52c458cb05ccc84f30d7909649a2f84a9.

This broke gnutls detection on non-interactive use, reported by |Brad| from Debian.
Closes bug #660

git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@10946 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-04 18:52:45 +00:00
dz
ae1f975299 Backport m_auditorium fixes from r10944
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@10945 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-04 16:26:00 +00:00
w00t
5b9277799c Fix elines not working when placed on a host, elines (like connection classes etc) must be rechecked after host resolution. Fixes bug #654, reported by Namegduf, thanks!
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@10942 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-03 17:32:09 +00:00