summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2008-08-25Bounds checking on IsModeSet, etc, to stop silly problemsw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10282 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-25Implement /who 1d t (search for who matches for users connected for a given ↵w00t
time) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10278 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-25Add opt_time to WHO (will be /who +t flag) and clean the fuck up ↵w00t
CommandWho::whomatch, which was as ugly as sin. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10274 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-25Add and document <permchannels> block for m_permchannels, which creates a ↵w00t
channel on startup. Fixes bug #511. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10271 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-25Allow Channel::SetTopic with a NULL user record, which sets a blank topic.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10270 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-25Fixes to make poll(2) socket engine work properlyw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10269 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-25Numerous changes to make this build..w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10268 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-25Add poll to build system if kqueue/epoll/ports are not used, above select.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10267 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-25Fixes, this can't be taken directly from 1.1w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10265 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-25Forward-port poll socket engine as it seems reasonably stable, and half-hack ↵w00t
it into configure. If someone could help me (easily) add it via our wonderful configure macros so it's built, that would be swell. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10264 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-24Forward-port r10257, fixes bug #599 reported by mixx941.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10258 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-24Forward port r10255: prevent redundant mode changes (thanks to mixx941 for ↵w00t
my noticing this) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10256 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-24Properly name the windows service error constants and put proper ↵brain
descriptions in the error strings git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10251 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-24No names for the service specific errors, probably wont ever name them as ↵brain
theyre never shown in linux git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10245 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-24Properly give the service specific exit code on failure to start. Now we ↵brain
just need to find out how to retrieve this git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10240 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-24work in progressbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10238 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-24Remove m_proxyscan; not functional and not targetted at 1.2 release anywayw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10237 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-23Forward port r10234, thanks psychonw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10235 e03df62e-2008-0410-955e-edbf42e46eb7
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-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-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-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-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-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-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