summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-08-23Move unused code to the bottom of the filew00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10232 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-23Update doc on m_chanlogw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10231 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-23Fix bug that would cause tags to be ignored (etc), thanks dzw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10230 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-23Convert m_chanlog from using logfile output (dangerous, not really that ↵w00t
useful) to logging snotices to channel instead, using OnSendSnotice. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10229 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-23Remove (unnecessary) compiler warning bypass; we don't need to assign ↵w00t
TreeSocket to a temporary var anyway, so remove the assign and we have no need to get gcc to ignore an unused var ;p. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10228 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-23Remove unused itab arrayw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10227 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-23nuke some debug not needed anymorepeavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10226 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-22Actually call OnSendSnotice event.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10224 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-22EWWW windows line endings!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10223 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-22Actually, we did manage to make a faster match than znc, when casemapping is ↵w00t
taken into account. Hooray. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10222 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-22Add OnSendSnotice(char &, std::string &, const std::string &) to ↵w00t
modify/block/notify about snotices being sent to users. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10221 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-22Add even more edge case matching tests (they all pass yay)peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10220 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-22There is no breakage here *jedi mind trick*w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10219 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-22Match with the right args at least..w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10218 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-22Nuke last references to MatchTextw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10217 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-22Match conversion stuff.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10216 e03df62e-2008-0410-955e-edbf42e46eb7
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