6491 Commits

Author SHA1 Message Date
brain
b72653db1a Add some stuff to change how we process a token sepeperated stream
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7801 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-23 18:06:50 +00:00
brain
cee0f19b13 Fix for irc::sepstream for when there are multiple seperators in a row, do not drop the rest of the line, strip the seperators
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7799 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-23 17:17:41 +00:00
brain
4d6d64e45d We name this release Esrom, its a danish cheese, to congratulate peavey on the new addition to the peavey household :)
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7793 e03df62e-2008-0410-955e-edbf42e46eb7
v1.1.12
2007-08-22 18:37:10 +00:00
brain
fd9bcbb83e Use userrec::MakeHost not userrec::GetFullRealHost, one has the nick on and we dont want it
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7792 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-21 20:08:37 +00:00
brain
e641a0e75e Implement feature in bug #395 reported by stealth, and tidy up a bit
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7790 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-21 18:52:25 +00:00
brain
464f720d50 Introducing major crashy bugs to annoy Stskeeps... just kidding, backport of stability fix in r7787
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7788 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-21 18:43:06 +00:00
brain
1659a00e2f Check for libgnugetopt, we need it in 4.x
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7786 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-20 21:06:16 +00:00
brain
7b69027e81 Backport tidyups
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7784 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-20 20:53:44 +00:00
brain
5504a57deb Merge in freebsd patch (woot, our first conficted merge :p)
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7782 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-20 20:42:53 +00:00
brain
1c62ae29b0 Merge comments back into stable, so that people can still understand stable!
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7780 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-20 18:35:54 +00:00
brain
2399c2596e backport fix for bug i just introduced (oops)
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7778 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-20 18:29:55 +00:00
brain
6d6c83f1d0 Backport, phew, glad this one applied cleanly.
The only possibility for the issue sts found is that a socket is deleted but also ends up in the socket cull list somehow.
To ensure that the socket does not get deleted, remove the delete and replace with an explicit call to insert into the socket cull list.
We were grappling with these issues in early 1.1 with the userrec cull list, too.
NOTE for later 1.2's consider making CullList a base class which we can derive from to delete lists of other items than userrecs.


git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7776 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-20 18:03:21 +00:00
brain
76ec76ee26 Block some trunk-only commits
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7774 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-20 17:11:42 +00:00
brain
f8c3d6d762 backport of fix for bug #382. When colliding a nick, we didnt have : before the kill reasons for the serverkill.
Because of a recentish refactor of server to server kills, when killing the user, the kill handler checks for params != 2 and returns if this is true
Because 'nick collision' is two words, long, it ignores the KILL and risks a desync (basically a race condition).
Couldnt duplicate myself, but this *SHOULD* fix.


git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7773 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-20 17:11:22 +00:00
brain
5843dae65c Backport fix for bug #389, m_nicklock desync
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7771 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-20 17:04:50 +00:00
brain
a440375c6e Backport fix for bug #393
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7766 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-20 00:15:32 +00:00
brain
850118bc0a Block the rest of this stuff
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7764 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-19 20:54:20 +00:00
brain
b4b5b8cf2f Backport <hostchange:ports> from bug #363 (feature)
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7763 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-19 20:53:53 +00:00
brain
7c81477c9a Block recent dns changes, theres chance of big breakage here.
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7755 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-19 16:28:28 +00:00
brain
9a4e137e8c backport loading warning suggested by Bricker
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7752 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-19 15:27:54 +00:00
brain
c20a6e22dc BP: Pick up a few error conditions we didnt before in the config reader, and also increment line number correctly when 'real' newline is found in a value
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7750 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-19 14:07:53 +00:00
brain
e0ca6a57b3 Block json stuff
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7748 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-19 13:37:43 +00:00
brain
5f90916420 Fix some /who oddities, fixes bug #383 amongst other issues. Nothing serious.
Ability to see users who share a common channel with you in /who *wildmask* now.


git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7747 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-19 13:37:16 +00:00
special
a4b90c46cd Also deleted json.h from 1.1
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7745 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-19 11:40:55 +00:00
special
b075c272ab Blocked r7743 and deleted m_rpc_json from 1.1, since it isn't completed yet
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7744 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-19 11:16:06 +00:00
special
b35bb61557 bp: Fixed a crash within the timeout for m_httpd sockets
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7741 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-19 05:02:49 +00:00
special
0274849e9d bp: Added the <cloak:ipalways> and <cloak:lowercase> options. Patch by nenolod
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7738 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-18 14:44:37 +00:00
peavey
ecd132394b Mark 7735 as backported to stable. tho this was really done reverse, and is really 7734.
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7736 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-17 19:50:17 +00:00
burlex
61c2e76c5e * Fixed bug in m_banredirect where removing a ban on a channel with maxbans set would result in a "ban list full" message.
* Fixed win32 compiling (forgot to backport the #pragma linker directive)

git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7734 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-17 19:42:58 +00:00
brain
0582cca3db Someone messed up
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7732 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-16 16:57:45 +00:00
special
bb7f6f1608 bp: Fixed bug #390 (broken m_chanprotect noservices)
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7731 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-16 05:35:01 +00:00
brain
01fe54c89f Block 7723-7725,7728 - millisecond /map on windows fixes manually merged
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7729 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-15 21:48:54 +00:00
brain
ff7f4ef510 Forgot CoreExport
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7727 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-15 21:44:05 +00:00
brain
34b2a66c72 Remove a whole load of #ifdef as we can now use gettimeofday.
If we add a wrapper for getrusage, then we can remove a ton more


git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7726 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-15 21:43:22 +00:00
brain
0548a0ebca Block 7715-7716
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7722 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-15 18:14:17 +00:00
brain
081a0a9a81 Merge 7719, 7720
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7721 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-15 18:13:49 +00:00
peavey
fa03880e73 bp 7717: Fix new millisec /map to compile on windows, by ifndef gettimeofday out reverting back to seconds for latency.
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7718 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-13 22:19:01 +00:00
brain
76ded2a428 Fix this so it works.
OBVIOUS WARNING FOR THE DUMB: Dont go overwriting .so files at random to test this, you WILL crash your ircd if you do this improprerly, this is a feature of the linux shared object loader.
If you want to test this, try with:    rm cmd_whatever.so && echo "TESTTEST" >cmd_whatever.so, do NOT just do the echo.


git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7714 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-11 12:17:40 +00:00
brain
9b82d8cb96 bp: Make the return codes correct, and allow for LoadCommand without a user pointer
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7711 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-11 11:34:57 +00:00
brain
8a2faccf96 Backport: Provide error output on failure to load a core command; to console on startup, and to user on /reload
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7709 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-11 11:29:40 +00:00
brain
61da580d6b Block 7693
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7707 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-11 09:59:02 +00:00
brain
ee1ab1c432 Err 7676 manually backported? :S
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7706 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-11 09:57:57 +00:00
brain
1b79b0c490 Someone forgot to bp m_nickflood to the example conf
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7705 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-11 09:56:58 +00:00
brain
e9935972c5 block chanrec::JoinUser logic cleanup
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7704 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-11 09:55:51 +00:00
brain
be72a21265 bp typo fix
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7703 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-11 09:54:52 +00:00
brain
5256c28687 Backport *possible* fix for bug #374, note i am working BLIND here without a proper backtrace! This is *guesswork* but the fix makes sense. diff to see.
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7701 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-10 21:08:36 +00:00
w00t
f86def32f3 Backport r7698: users (not opers) set +i would be unable to /who themselves. Found (inadvertently) by Trblmkr.
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7699 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-10 17:06:42 +00:00
brain
b063b7b0c0 Commit patch from djGrrr for libc/epoll detection on FC7
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7697 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-09 22:01:19 +00:00
brain
2250bfb7b1 Merge in dns fix for bug found by djGrrr
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7695 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-09 21:54:31 +00:00
brain
a21ddaa0d9 Backport display glitch fix found by djGrrr, fixed by w00t
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7692 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-09 16:41:24 +00:00