summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2008-09-06Grr at windows exportsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10424 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-06fixes so m_sqloper builds on winbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10421 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-06Make ThreadEngine::Mutex() protected too, make the user use Lock() and Unlock()brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10418 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-06Speedupsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10414 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-06Nope w00t it wasnt the last :pbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10413 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-06Properly handle CIDR etc for user pointer extbansbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10412 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-06Make sure user is null when a literal is passedbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10411 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-06Optional use of user objectbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10410 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-06Whoops left something outbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10409 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-06Newer extban-supporting listmode apibrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10407 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-06Stick Enable() in private, enhance commentsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10406 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-06New methods in mutex purely for readability:brain
void Lock() { Enable(true); } void Unlock() { Enable(false); } git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10403 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-04MutexEngine -> MutexFactory, more sensible namebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10385 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-04Fix silly compile errorsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10383 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-04ability to create mutexes (rather than just having one system wide mutex) in ↵brain
the threadengines, allows for migration of m_mysql etc. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10381 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-31Whoops, left off a virtual. Please ensure youre using this version if you ↵brain
actually want mode params to be propogated git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10366 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-31Move all the parameters around AGAIN. See docs shortlybrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10364 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-31Save 4 bytes (assuming sizeof(ptr) == 2) per user record, storing unneeded ↵w00t
pointers (self managed class) that nothing was ever done with. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10359 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-28Rename lowermap to rfc_case_insensitive_map, add case_sensitive_map.. adjust ↵w00t
files to not pass lowermap directly. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10337 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-27Add <disabled:fakenonexistant> - ircd will pretend that a disabled command ↵w00t
just doesn't exist (for austnet), document <disabled:usermodes> and <disabled:chanmodes> (bad aquanight.) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10327 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-25Change module versions to use a string instead of fixed digits, and use ↵w00t
propset ID to auto-set versions, so we don't have (essentially unused) module versions. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10291 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-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-25This include doesn't exist in 1.2w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10266 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-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-24Forgot to remove a ,brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10250 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-24Movebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10239 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-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-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-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-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-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-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-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 incorrect numerics, closes bug #588w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10113 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-04Add optional 3rd parameter to Channel::SetTopic() which overrides all access ↵om
checks. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10085 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-04Oops, actually, return 1 to block change, 0 to check it, -1 to allow it ↵w00t
regardless. Update docs in header also. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10083 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-04Add Channel::SetTopic(User *, std::string &) to set topic on a channel. Use ↵w00t
it in CommandTopic. Also modify OnLocalTopicChange to accept a new return value. (0 == proceed as normal, 1 == don't check anything, -1 == disallow change silently). git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10082 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-29Move umode_n to umode_s, second half of last commitw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10075 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-29After discussions and thought, move umode +n to +s. This increases ↵w00t
cross-ircd compat (both charybdis and unreal use +s for snomasks, others might in the future). This also decreases complexity for new users, and removes the redundancy. This means that just +s +cC for example will be required to view connects. (files to be renamed in next commit to not confuse svn). git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10074 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-21Remove duplicated member, kept in classes.. Possible now we have a pointer. ↵w00t
this saves (another) 4 bytes per user. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10064 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-20Remove custom members for +lk storagew00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10053 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-20304 -> RPL_SYNTAXbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10052 e03df62e-2008-0410-955e-edbf42e46eb7