summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-08-22Revert automated conversion by Special, as it (unfortunately) neglects some ↵w00t
details. It provides a useful start point, though, so it'll be used as the basis for the final conversion. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10215 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-22Fix a lot of calls to match() and uses of wildcard.h (which doesn't exist ↵special
anymore) after w00t broke them. Still broken pending a few more changes (it's all w00t's fault.) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10214 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-21match() is no longer a function+no header, now a static method of InspIRCd ↵w00t
class, blah blah blah. Also rip out the 1.2 matcher, as it was slow, and replace it with one adapted from znc, which happens to be a tiny bit faster than 1.1's (and the fastest I've seen so far that works properly) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10212 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-21Patch submitted by Dagonet that improves detection of gnutls and opensslbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10211 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-21fixesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10207 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-21zap the evil externs, and comment the lotbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10205 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-21Typow00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10204 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-21Don't even touch remote joins.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10202 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-21Use ERR_BANNEDFROMCHAN, not ERR_TOOMANYCHANNELSw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10201 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-21comments to explain wtf 'ENTRYPOINT' is where main() should be. In the ↵brain
future maybe we should have two main.cpp's one for windows and one for posix, in a similar way we do socket engines etc. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10200 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-21detect if the process has an interactive session (if its started as a ↵brain
service, the window station will have no drawable surfaces, and we can detect this) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10199 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-21add service install and remove calls to installer.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10198 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-21add text explanations of the error messages that can occur when adding or ↵brain
removing the service. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10197 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-21change startup type from SERVICE_DEMAND_START to SERVICE_AUTO_START so that ↵brain
inspircd boots with the system git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10196 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-21make service log on as local service builtin account again. There was no ↵brain
issue with privileges except the fact i was using encryption on my files. doh. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10195 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-21now works 'enough' to progress further. Can start and stop the service and ↵brain
it accepts connections. NOTE: It will not function as local service. Needs to be possibly set as networkservice. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10194 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-21add support for windows service. This now is part of inspircd itself being ↵brain
as we have native build. It doesnt quite work yet in all the ways it should. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10193 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-20properly coreexport the getcpu() function etcbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10184 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-20fix memory leak in new wmi stuff and comment it. Lots of kittens are killed ↵brain
by use of this code. :( git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10183 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-20We can finally have percent cpu in the stats z on windows now, same as it is ↵brain
on linux. The windows one surprisingly enough is more accurate than the linux one as posix gives no standard way of obtaining this. :-) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10181 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-20Checks to make sure that WMI initialises, if it doesnt we return -1 for CPU ↵brain
percentage git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10180 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-20WMI calls for getting cpu percentage of current process. This code was a ↵brain
biatch and a half. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10179 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-19Add support for uptime in win32 named pipe databrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10177 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-18Apply to clictx toobrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10164 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-18Forward-port r10160: openssl partial write fucking shit up, add Namegduf to ↵w00t
contributors git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10161 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-18Increase the size of the matrix for map drawing to 250x250brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10158 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-17Fix const_iterator issue in m_callerid (when did we alter this?)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10151 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-17These are not percentagesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10150 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-17Add OnParameterMissing to modehandler, called when the mode handler should ↵brain
have a parameter, but the parser found none git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10149 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-17Another edge case suggested by peavey (passes)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10148 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-17Fix missing bounds checks in wildcard.cpp causing crash in bug #590 and relatedbrain
Add test cases for wildcards to pick this up in future regression testing plus a bunch of other edge cases git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10147 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-12Drift now has to be >= 3 secs in either direction to trigger a warning, this ↵brain
is designed for warning of big drifts, we dont want it whining about ntpdate etc git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10144 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-10Fix bug #555 : <options:deprotectothers> now works correctly, and applies to ↵aquanight
what other things a +q/+a can do to other +q/+a users (eg, -ohv and kick) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10139 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-10Fix RPL_NAMREPLY sometimes fucking upw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10137 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-10Fix checks on GetExt everywhere its used.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10135 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-10Forward port r10133.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10134 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-09Unbreak compile for real.aquanight
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10132 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-09Unbreak compile..w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10131 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-09Add translation type TR_CUSTOM, and fix up callerid some.aquanight
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10130 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-09Fix for bug #583 reported by Deyan, thanks for the heads upbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10128 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-07I am a retard, mixx941 is my godw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10124 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-07Don't add duplicate invitesw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10122 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-07Implement <options:invitebypassmodes>, optionally circumvent +blk if invited ↵w00t
on join. Based on a patch provided by mixx941, closes bug #589. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10120 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-07Restrict uninvitew00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10119 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-07Rethink that. Remove noinvite since it's essentially useless now, so we have ↵w00t
chmode +A to allow everyone to invite and extban A to block invite from specific users. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10118 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-07Use correct char in exemption.. could lead to chanops being exempted ↵w00t
incorrectly from noinvite git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10117 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-07Add module implementing +A and extban +b A: which explicitly allow users to ↵w00t
use /invite. m_noinvite is still available, also. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10116 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-07Always deny invite to users below halfop status, move OnUserPreInvite up to ↵w00t
above that access check, and allow a return of -1 to bypass the check. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10115 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-07Fix two modules set VF_COMMON incorrectly, closes bug #587w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10114 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-07Fix incorrect numerics, closes bug #588w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10113 e03df62e-2008-0410-955e-edbf42e46eb7