8508 Commits

Author SHA1 Message Date
w00t
b2723d2577 Back out the incomplete linebuffering stuff that shouldn't have been committed..
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9948 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-02 14:22:48 +00:00
w00t
f4ea51671f Forward port r9946: make SVSHOLD silent to avoid useless irritation to opers
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9947 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-02 14:20:38 +00:00
w00t
b928a79eeb Fix an off-by-one which could possibly perhaps cause djGrrr/satmd's bug by dropping a read buffer into the bit bucket if it was of an exact enough size to cause problems. No guarentees.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9944 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-02 03:21:53 +00:00
peavey
281947948d oh forgot, thanks psychon for noticing the PATH_MAX and limits problem :)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9943 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-01 18:48:22 +00:00
peavey
bf0c9c494b include limits to get correct PATH_MAX where available
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9942 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-01 18:04:35 +00:00
peavey
e3e748b786 Make gcc 4.3 whine less
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9940 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-27 17:39:43 +00:00
brain
b32337e820 Yet another module priority shuffler fix from Phoenix, bad phoenix bad bad\!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9938 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-26 17:42:12 +00:00
brain
81dae4cc23 Merge in patch from nenolod to make channelmode +z not count ulined clients when determining if all users on a channel are ssl before setting the mode. Thanks nenolod.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9936 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-26 17:33:25 +00:00
brain
024ef0c621 Module priority 'shuffler' fix from Phoenix, bounds checks
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9934 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-24 17:17:59 +00:00
brain
20b31c2b68 Module priority 'shuffler' suggestion from Phoenix, needs some testing but works ok for him
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9933 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-24 16:43:34 +00:00
brain
8a3bcebffc This is more correct, thanks Phoenix
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9932 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-24 16:27:16 +00:00
brain
999f4d2f14 Merge swhois patch from jackmcbarn
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9931 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-22 16:02:13 +00:00
brain
a77e13baaa Change the value of number of secs in a year to be 31557600 for Duration() with 'y' value. This is 365.25 days slightly more accurate than 365 days.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9930 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-21 13:18:25 +00:00
special
b0bda49801 Updated svn:ignore for src/modules/ with some newer files from src/modules/extra/
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9929 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-20 02:40:47 +00:00
special
68b3561749 It is unnecessary and rather less efficient to use memmove() everywhere; it's only needed when the buffers may overlap.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9927 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-20 02:04:53 +00:00
brain
6e8677f925 Whos been commiting a quarter of a fix?
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9925 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-19 23:51:28 +00:00
brain
ee5cfbc96c Properly clear the bandwidth measurements
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9923 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-18 21:39:51 +00:00
brain
07c7b5b61b more fixes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9922 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-18 21:09:41 +00:00
brain
a5f65582fe more fixes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9921 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-18 20:51:22 +00:00
brain
742d519b67 another fix just to piss off people who are trying to build every svn revision
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9920 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-18 20:34:12 +00:00
brain
cdbc474bbc Fix typo
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9919 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-18 20:28:49 +00:00
brain
a3802dee4b Measure bandwidth statistics from the socket engine (kiloBITS per second in, out, total) and display them in /stats z plus send them via the named pipe to the windows gui
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9918 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-18 20:27:47 +00:00
brain
ed6fcd4a50 Add the rest of the stuff for named pipe comms, including feedback information, and fix a bug in configreader that made it load the core commands every rehash
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9913 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-18 18:54:25 +00:00
brain
874c398ad9 IPC now provides feedback via the named pipe, right now the data is just the server name
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9912 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-15 20:29:10 +00:00
brain
97ab97c6fb IPC now works for receiving one-byte commands in the same manner as the mailslot.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9911 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-15 19:26:58 +00:00
brain
afe99da316 Base stuff for named pipe IPC
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9910 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-15 16:21:09 +00:00
brain
d15b915ef5 Defined too early
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9909 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-15 11:57:01 +00:00
brain
d62febcf8f Define PATH_MAX if its not already defined
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9907 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-15 11:53:04 +00:00
brain
46235defb1 Document hidekills, bug #561
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9906 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-14 23:58:53 +00:00
brain
fc826b6f01 Fix m_shun as per bug #560 reported by Casey, thanks
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9905 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-14 23:08:11 +00:00
brain
b22124cbc3 Win32 compilation fixes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9904 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-13 17:52:11 +00:00
brain
bbac74618e Change wording of a log message
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9903 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-12 22:26:34 +00:00
pippijn
de347ae8fa MAXBUF messes these up
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9902 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-12 21:40:17 +00:00
pippijn
3f331656b2 fixed
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9901 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-12 21:34:02 +00:00
pippijn
63ee682557 optimise string comparison.. this time I've done it right.. sheesh shitty C++ name lookup :-(
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9900 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-12 21:25:46 +00:00
pippijn
8a51d8969c revert for now..
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9899 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-12 21:09:04 +00:00
pippijn
5ca2a6ffdb for real
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9898 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-12 21:04:37 +00:00
pippijn
6f76451a5c we are C++, not C
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9897 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-12 21:04:10 +00:00
pippijn
cf6ba58008 optimise string-to-literal comparison while we are at it
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9896 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-12 21:00:48 +00:00
brain
1519698640 Remove PATH_MAX because some retard removed it
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9895 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-12 19:47:52 +00:00
brain
b3e3b1f14e Now builds ok on gcc 4.3, not tested fully. Also UGLY, oh we hate you GCC, why couldnt you just use TR1 from the start???
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9894 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-12 19:29:42 +00:00
brain
06a25cab68 Fix to allow namespace std { namespace tr1 {
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9893 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-12 18:17:28 +00:00
brain
e56613b003 This should do the job, dont quote me on it.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9892 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-12 17:40:40 +00:00
brain
04b09e3b2c Extra configure detection for the gcc minor version (we took this out when we removed support for gcc < 3, but now we need it back for gcc 4.3 :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9891 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-12 17:07:23 +00:00
brain
5a4d9ac695 Merge in patch from bug #557, thanks for the feature jackmcbarn
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9890 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-12 16:32:02 +00:00
brain
e19f84d7cc Dont even bother to do the ldap bind if the password given is empty (performance boost)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9889 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-11 21:19:28 +00:00
pippijn
d185decae9 fixed some indentation and spacing in modules
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9888 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-11 11:35:23 +00:00
pippijn
62ac378bfb removed useless "else"
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9887 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-11 02:24:01 +00:00
brain
f3d6a57412 Change wording of message: You are not permitted to remove privileges from %s services
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9886 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-10 23:27:29 +00:00
brain
dc1b764b7c Really smart extra stuff in the deop check
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9885 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-10 23:24:06 +00:00