summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2008-07-12Remove individual read buffers inside of BufferedSocket, use the shared ↵w00t
netbuffer instead, like users. This means a 65kb saving per BufferedSocket. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9960 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-12Add User::GetCIDRMask(int range), will be used for CIDR throttling, etc. ↵w00t
Also probably opens up the way for /gline nickname to place CIDR bans instead of regular bans, which could be helpful. Much thanks to Om for his help. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9959 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-11Extended ban exceptions (untested, probably will explode as I'm tired..)w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9958 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-11Add OnCheckExtBan, will be used for exceptions to extbansw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9957 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-11Convert API to use std::string, fixes my slight bug from earlier and looks ↵w00t
tidier git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9956 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-11Fix m_nopartmsg to work via API modification, involves a string copy that ↵w00t
won't last too long. Compiles cleanly. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9953 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-09- xml has no html entities :(pippijn
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9952 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-09that failed to applypippijn
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9951 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-09- disabled m_nopartmsg for now, since it requires API changes to workpippijn
- fixed m_httpd_stats so it does not send negative numerical xml entities git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9950 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-02Add module implementing +b p: - channel part message extban. Breaks compile ↵w00t
currently as API isn't quite going to let me do this, adding as a reminder to force me to do it tomorrow. (let's see if it works) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9949 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-02Back out the incomplete linebuffering stuff that shouldn't have been committed..w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9948 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-02Forward port r9946: make SVSHOLD silent to avoid useless irritation to opersw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9947 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-02Fix an off-by-one which could possibly perhaps cause djGrrr/satmd's bug by ↵w00t
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-06-27Make gcc 4.3 whine lesspeavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9940 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-26Yet another module priority shuffler fix from Phoenix, bad phoenix bad bad\!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9938 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-26Merge in patch from nenolod to make channelmode +z not count ulined clients ↵brain
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-24Module priority 'shuffler' fix from Phoenix, bounds checksbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9934 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-24Module priority 'shuffler' suggestion from Phoenix, needs some testing but ↵brain
works ok for him git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9933 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-24This is more correct, thanks Phoenixbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9932 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-22Merge swhois patch from jackmcbarnbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9931 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-20It is unnecessary and rather less efficient to use memmove() everywhere; ↵special
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-19Whos been commiting a quarter of a fix?brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9925 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-18Properly clear the bandwidth measurementsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9923 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-18more fixesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9922 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-18more fixesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9921 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-18another fix just to piss off people who are trying to build every svn revisionbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9920 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-18Fix typobrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9919 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-18Measure bandwidth statistics from the socket engine (kiloBITS per second in, ↵brain
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-18Add the rest of the stuff for named pipe comms, including feedback ↵brain
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-15IPC now works for receiving one-byte commands in the same manner as the ↵brain
mailslot. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9911 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-15Define PATH_MAX if its not already definedbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9907 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-14Fix m_shun as per bug #560 reported by Casey, thanksbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9905 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-13Win32 compilation fixesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9904 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-12Change wording of a log messagebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9903 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-12for realpippijn
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9898 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-12Remove PATH_MAX because some retard removed itbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9895 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-12Now builds ok on gcc 4.3, not tested fully. Also UGLY, oh we hate you GCC, ↵brain
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-12Merge in patch from bug #557, thanks for the feature jackmcbarnbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9890 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-11Dont even bother to do the ldap bind if the password given is empty ↵brain
(performance boost) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9889 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-11fixed some indentation and spacing in modulespippijn
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9888 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-11removed useless "else"pippijn
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9887 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-10Change wording of message: You are not permitted to remove privileges from ↵brain
%s services git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9886 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-10Really smart extra stuff in the deop checkbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9885 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-10Add deop protection for services, bug #554brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9884 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-09Something we can do in 1.2 that we cant really do neatly in 1.1 - allow for ↵brain
the channel list sizes to be enforced only locally git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9882 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-09Slight adjustment to our standard to avoid an obvious race condition found ↵brain
by anmaster and nenolod, only really reported by neno. Thanks :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9881 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-08Properly ignore second STARTTLS request on same socket, as per our specbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9878 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-08Ignore CAP from clients that have already registeredbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9877 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-08Dont announce successful rehash if bail is set to true (e.g. we're booting)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9876 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-081.2.0a4+Angus (Yummeh!)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9872 e03df62e-2008-0410-955e-edbf42e46eb7