]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
15 years agoProperly give the service specific exit code on failure to start. Now we just need...
brain [Sun, 24 Aug 2008 19:19:57 +0000 (19:19 +0000)]
Properly give the service specific exit code on failure to start. Now we 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

15 years agoMove
brain [Sun, 24 Aug 2008 19:08:54 +0000 (19:08 +0000)]
Move

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10239 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agowork in progress
brain [Sun, 24 Aug 2008 19:08:36 +0000 (19:08 +0000)]
work in progress

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10238 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoRemove m_proxyscan; not functional and not targetted at 1.2 release anyway
w00t [Sun, 24 Aug 2008 16:37:43 +0000 (16:37 +0000)]
Remove m_proxyscan; not functional and not targetted at 1.2 release anyway

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10237 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoForward port r10234, thanks psychon
w00t [Sat, 23 Aug 2008 23:23:38 +0000 (23:23 +0000)]
Forward port r10234, thanks psychon

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10235 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agotypo
peavey [Sat, 23 Aug 2008 17:11:54 +0000 (17:11 +0000)]
typo

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10233 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoMove unused code to the bottom of the file
w00t [Sat, 23 Aug 2008 17:07:13 +0000 (17:07 +0000)]
Move unused code to the bottom of the file

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10232 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoUpdate doc on m_chanlog
w00t [Sat, 23 Aug 2008 17:05:59 +0000 (17:05 +0000)]
Update doc on m_chanlog

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10231 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFix bug that would cause tags to be ignored (etc), thanks dz
w00t [Sat, 23 Aug 2008 16:58:28 +0000 (16:58 +0000)]
Fix bug that would cause tags to be ignored (etc), thanks dz

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10230 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoConvert m_chanlog from using logfile output (dangerous, not really that useful) to...
w00t [Sat, 23 Aug 2008 16:32:54 +0000 (16:32 +0000)]
Convert m_chanlog from using logfile output (dangerous, not really that 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

15 years agoRemove (unnecessary) compiler warning bypass; we don't need to assign TreeSocket...
w00t [Sat, 23 Aug 2008 15:19:48 +0000 (15:19 +0000)]
Remove (unnecessary) compiler warning bypass; we don't need to assign 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

15 years agoRemove unused itab array
w00t [Sat, 23 Aug 2008 14:51:12 +0000 (14:51 +0000)]
Remove unused itab array

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10227 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agonuke some debug not needed anymore
peavey [Sat, 23 Aug 2008 11:36:02 +0000 (11:36 +0000)]
nuke some debug not needed anymore

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10226 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoActually call OnSendSnotice event.
w00t [Fri, 22 Aug 2008 20:07:48 +0000 (20:07 +0000)]
Actually call OnSendSnotice event.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10224 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoEWWW windows line endings!
brain [Fri, 22 Aug 2008 20:01:13 +0000 (20:01 +0000)]
EWWW windows line endings!

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10223 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoActually, we did manage to make a faster match than znc, when casemapping is taken...
w00t [Fri, 22 Aug 2008 19:12:18 +0000 (19:12 +0000)]
Actually, we did manage to make a faster match than znc, when casemapping is taken into account. Hooray.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10222 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoAdd OnSendSnotice(char &, std::string &, const std::string &) to modify/block/notify...
w00t [Fri, 22 Aug 2008 18:01:15 +0000 (18:01 +0000)]
Add OnSendSnotice(char &, std::string &, const std::string &) to 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

15 years agoAdd even more edge case matching tests (they all pass yay)
peavey [Fri, 22 Aug 2008 17:49:36 +0000 (17:49 +0000)]
Add even more edge case matching tests (they all pass yay)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10220 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoThere is no breakage here *jedi mind trick*
w00t [Fri, 22 Aug 2008 17:45:14 +0000 (17:45 +0000)]
There is no breakage here *jedi mind trick*

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10219 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoMatch with the right args at least..
w00t [Fri, 22 Aug 2008 17:39:00 +0000 (17:39 +0000)]
Match with the right args at least..

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10218 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoNuke last references to MatchText
w00t [Fri, 22 Aug 2008 17:07:33 +0000 (17:07 +0000)]
Nuke last references to MatchText

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10217 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoMatch conversion stuff.
w00t [Fri, 22 Aug 2008 16:14:36 +0000 (16:14 +0000)]
Match conversion stuff.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10216 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoRevert automated conversion by Special, as it (unfortunately) neglects some details...
w00t [Fri, 22 Aug 2008 15:16:46 +0000 (15:16 +0000)]
Revert automated conversion by Special, as it (unfortunately) neglects some 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

15 years agoFix a lot of calls to match() and uses of wildcard.h (which doesn't exist anymore...
special [Fri, 22 Aug 2008 10:09:36 +0000 (10:09 +0000)]
Fix a lot of calls to match() and uses of wildcard.h (which doesn't exist 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

15 years agomatch() is no longer a function+no header, now a static method of InspIRCd class...
w00t [Thu, 21 Aug 2008 20:56:16 +0000 (20:56 +0000)]
match() is no longer a function+no header, now a static method of InspIRCd 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

15 years agoPatch submitted by Dagonet that improves detection of gnutls and openssl
brain [Thu, 21 Aug 2008 20:08:42 +0000 (20:08 +0000)]
Patch submitted by Dagonet that improves detection of gnutls and openssl

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10211 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agofixes
brain [Thu, 21 Aug 2008 16:07:54 +0000 (16:07 +0000)]
fixes

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10207 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agozap the evil externs, and comment the lot
brain [Thu, 21 Aug 2008 14:41:55 +0000 (14:41 +0000)]
zap the evil externs, and comment the lot

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10205 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoTypo
w00t [Thu, 21 Aug 2008 13:50:43 +0000 (13:50 +0000)]
Typo

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10204 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoDon't even touch remote joins.
w00t [Thu, 21 Aug 2008 13:49:40 +0000 (13:49 +0000)]
Don't even touch remote joins.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10202 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoUse ERR_BANNEDFROMCHAN, not ERR_TOOMANYCHANNELS
w00t [Thu, 21 Aug 2008 13:45:07 +0000 (13:45 +0000)]
Use ERR_BANNEDFROMCHAN, not ERR_TOOMANYCHANNELS

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10201 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agocomments to explain wtf 'ENTRYPOINT' is where main() should be. In the future maybe...
brain [Thu, 21 Aug 2008 13:40:34 +0000 (13:40 +0000)]
comments to explain wtf 'ENTRYPOINT' is where main() should be. In the 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

15 years agodetect if the process has an interactive session (if its started as a service, the...
brain [Thu, 21 Aug 2008 13:36:15 +0000 (13:36 +0000)]
detect if the process has an interactive session (if its started as a 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

15 years agoadd service install and remove calls to installer.
brain [Thu, 21 Aug 2008 12:54:59 +0000 (12:54 +0000)]
add service install and remove calls to installer.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10198 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoadd text explanations of the error messages that can occur when adding or removing...
brain [Thu, 21 Aug 2008 12:39:21 +0000 (12:39 +0000)]
add text explanations of the error messages that can occur when adding or removing the service.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10197 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agochange startup type from SERVICE_DEMAND_START to SERVICE_AUTO_START so that inspircd...
brain [Thu, 21 Aug 2008 12:19:09 +0000 (12:19 +0000)]
change startup type from SERVICE_DEMAND_START to SERVICE_AUTO_START so that inspircd boots with the system

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10196 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agomake service log on as local service builtin account again. There was no issue with...
brain [Thu, 21 Aug 2008 12:13:09 +0000 (12:13 +0000)]
make service log on as local service builtin account again. There was no 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

15 years agonow works 'enough' to progress further. Can start and stop the service and it accepts...
brain [Thu, 21 Aug 2008 11:21:46 +0000 (11:21 +0000)]
now works 'enough' to progress further. Can start and stop the service and 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

15 years agoadd support for windows service. This now is part of inspircd itself being as we...
brain [Thu, 21 Aug 2008 11:01:51 +0000 (11:01 +0000)]
add support for windows service. This now is part of inspircd itself being 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

15 years agoproperly coreexport the getcpu() function etc
brain [Wed, 20 Aug 2008 11:47:52 +0000 (11:47 +0000)]
properly coreexport the getcpu() function etc

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10184 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agofix memory leak in new wmi stuff and comment it. Lots of kittens are killed by use...
brain [Wed, 20 Aug 2008 11:21:43 +0000 (11:21 +0000)]
fix memory leak in new wmi stuff and comment it. Lots of kittens are killed by use of this code. :(

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10183 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoWe can finally have percent cpu in the stats z on windows now, same as it is on linux...
brain [Wed, 20 Aug 2008 10:31:56 +0000 (10:31 +0000)]
We can finally have percent cpu in the stats z on windows now, same as it is 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

15 years agoChecks to make sure that WMI initialises, if it doesnt we return -1 for CPU percentage
brain [Wed, 20 Aug 2008 10:27:46 +0000 (10:27 +0000)]
Checks to make sure that WMI initialises, if it doesnt we return -1 for CPU percentage

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10180 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoWMI calls for getting cpu percentage of current process. This code was a biatch and...
brain [Wed, 20 Aug 2008 09:56:16 +0000 (09:56 +0000)]
WMI calls for getting cpu percentage of current process. This code was a biatch and a half.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10179 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoAdd support for uptime in win32 named pipe data
brain [Tue, 19 Aug 2008 22:12:36 +0000 (22:12 +0000)]
Add support for uptime in win32 named pipe data

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10177 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoApply to clictx too
brain [Mon, 18 Aug 2008 22:56:56 +0000 (22:56 +0000)]
Apply to clictx too

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10164 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoForward-port r10160: openssl partial write fucking shit up, add Namegduf to contributors
w00t [Mon, 18 Aug 2008 22:44:49 +0000 (22:44 +0000)]
Forward-port r10160: openssl partial write fucking shit up, add Namegduf to contributors

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10161 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoIncrease the size of the matrix for map drawing to 250x250
brain [Mon, 18 Aug 2008 19:25:05 +0000 (19:25 +0000)]
Increase the size of the matrix for map drawing to 250x250

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10158 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFix const_iterator issue in m_callerid (when did we alter this?)
brain [Sun, 17 Aug 2008 17:30:10 +0000 (17:30 +0000)]
Fix const_iterator issue in m_callerid (when did we alter this?)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10151 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoThese are not percentages
brain [Sun, 17 Aug 2008 16:53:22 +0000 (16:53 +0000)]
These are not percentages

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10150 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoAdd OnParameterMissing to modehandler, called when the mode handler should have a...
brain [Sun, 17 Aug 2008 16:16:49 +0000 (16:16 +0000)]
Add OnParameterMissing to modehandler, called when the mode handler should have a parameter, but the parser found none

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10149 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoAnother edge case suggested by peavey (passes)
brain [Sun, 17 Aug 2008 15:40:29 +0000 (15:40 +0000)]
Another edge case suggested by peavey (passes)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10148 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFix missing bounds checks in wildcard.cpp causing crash in bug #590 and related
brain [Sun, 17 Aug 2008 15:33:13 +0000 (15:33 +0000)]
Fix missing bounds checks in wildcard.cpp causing crash in bug #590 and related
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

15 years agoDrift now has to be >= 3 secs in either direction to trigger a warning, this is desig...
brain [Tue, 12 Aug 2008 20:44:26 +0000 (20:44 +0000)]
Drift now has to be >= 3 secs in either direction to trigger a warning, this 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

15 years agoFix bug #555 : <options:deprotectothers> now works correctly, and applies to what...
aquanight [Sun, 10 Aug 2008 21:34:01 +0000 (21:34 +0000)]
Fix bug #555 : <options:deprotectothers> now works correctly, and applies to 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

15 years agoFix RPL_NAMREPLY sometimes fucking up
w00t [Sun, 10 Aug 2008 18:15:33 +0000 (18:15 +0000)]
Fix RPL_NAMREPLY sometimes fucking up

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10137 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFix checks on GetExt everywhere its used.
peavey [Sun, 10 Aug 2008 16:45:46 +0000 (16:45 +0000)]
Fix checks on GetExt everywhere its used.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10135 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoForward port r10133.
peavey [Sun, 10 Aug 2008 16:37:31 +0000 (16:37 +0000)]
Forward port r10133.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10134 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoUnbreak compile for real.
aquanight [Sat, 9 Aug 2008 18:59:36 +0000 (18:59 +0000)]
Unbreak compile for real.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10132 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoUnbreak compile..
w00t [Sat, 9 Aug 2008 18:50:12 +0000 (18:50 +0000)]
Unbreak compile..

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10131 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoAdd translation type TR_CUSTOM, and fix up callerid some.
aquanight [Sat, 9 Aug 2008 17:15:43 +0000 (17:15 +0000)]
Add translation type TR_CUSTOM, and fix up callerid some.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10130 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFix for bug #583 reported by Deyan, thanks for the heads up
brain [Sat, 9 Aug 2008 14:20:07 +0000 (14:20 +0000)]
Fix for bug #583 reported by Deyan, thanks for the heads up

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10128 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoI am a retard, mixx941 is my god
w00t [Thu, 7 Aug 2008 19:17:17 +0000 (19:17 +0000)]
I am a retard, mixx941 is my god

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10124 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoDon't add duplicate invites
w00t [Thu, 7 Aug 2008 18:17:23 +0000 (18:17 +0000)]
Don't add duplicate invites

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10122 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoImplement <options:invitebypassmodes>, optionally circumvent +blk if invited on join...
w00t [Thu, 7 Aug 2008 16:35:58 +0000 (16:35 +0000)]
Implement <options:invitebypassmodes>, optionally circumvent +blk if invited 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

15 years agoRestrict uninvite
w00t [Thu, 7 Aug 2008 16:18:33 +0000 (16:18 +0000)]
Restrict uninvite

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10119 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoRethink that. Remove noinvite since it's essentially useless now, so we have chmode...
w00t [Thu, 7 Aug 2008 16:10:06 +0000 (16:10 +0000)]
Rethink that. Remove noinvite since it's essentially useless now, so we have 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

15 years agoUse correct char in exemption.. could lead to chanops being exempted incorrectly...
w00t [Thu, 7 Aug 2008 16:04:43 +0000 (16:04 +0000)]
Use correct char in exemption.. could lead to chanops being exempted incorrectly from noinvite

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10117 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoAdd module implementing +A and extban +b A: which explicitly allow users to use ...
w00t [Thu, 7 Aug 2008 16:04:17 +0000 (16:04 +0000)]
Add module implementing +A and extban +b A: which explicitly allow users to use /invite. m_noinvite is still available, also.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10116 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoAlways deny invite to users below halfop status, move OnUserPreInvite up to above...
w00t [Thu, 7 Aug 2008 15:59:01 +0000 (15:59 +0000)]
Always deny invite to users below halfop status, move OnUserPreInvite up to 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

15 years agoFix two modules set VF_COMMON incorrectly, closes bug #587
w00t [Thu, 7 Aug 2008 15:32:10 +0000 (15:32 +0000)]
Fix two modules set VF_COMMON incorrectly, closes bug #587

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10114 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFix incorrect numerics, closes bug #588
w00t [Thu, 7 Aug 2008 15:30:06 +0000 (15:30 +0000)]
Fix incorrect numerics, closes bug #588

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10113 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFixes to m_satopic from danieldg, closes bug #586. Thanks.
w00t [Thu, 7 Aug 2008 15:28:29 +0000 (15:28 +0000)]
Fixes to m_satopic from danieldg, closes bug #586. Thanks.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10112 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoHooray
w00t [Wed, 6 Aug 2008 22:34:59 +0000 (22:34 +0000)]
Hooray

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10111 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoGive feedback to remote users
w00t [Wed, 6 Aug 2008 21:47:18 +0000 (21:47 +0000)]
Give feedback to remote users

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10110 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoadd missing modules to the vc80 project files
brain [Wed, 6 Aug 2008 12:10:55 +0000 (12:10 +0000)]
add missing modules to the vc80 project files

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10109 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agofix compile errors under debug profile in windows.
brain [Wed, 6 Aug 2008 11:59:17 +0000 (11:59 +0000)]
fix compile errors under debug profile in windows.
fix some warnings too.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10108 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoChange extban seperator in 005 to match charybdis and unreal
w00t [Wed, 6 Aug 2008 10:51:02 +0000 (10:51 +0000)]
Change extban seperator in 005 to match charybdis and unreal

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10107 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFix bug #584 (not with the provided patch) and stuff nobody really cares about
w00t [Tue, 5 Aug 2008 23:11:45 +0000 (23:11 +0000)]
Fix bug #584 (not with the provided patch) and stuff nobody really cares about

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10106 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFix TOPIC to work on propegation again
w00t [Tue, 5 Aug 2008 21:52:38 +0000 (21:52 +0000)]
Fix TOPIC to work on propegation again

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10105 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoMake this fit in with the rest of the code
w00t [Tue, 5 Aug 2008 21:52:03 +0000 (21:52 +0000)]
Make this fit in with the rest of the code

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10104 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoReturn the right thing.
w00t [Tue, 5 Aug 2008 19:38:09 +0000 (19:38 +0000)]
Return the right thing.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10102 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoBetter Way(TM) of doing easy routing of commands with a user based source. This saves...
w00t [Tue, 5 Aug 2008 19:36:25 +0000 (19:36 +0000)]
Better Way(TM) of doing easy routing of commands with a user based source. This saves me having to put fixes into SVSJOIN, etc, to stop fake direction.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10101 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoForward-port r10098 and r10099, fixing anope+inspircd=ftopic ddos. Thanks to Namegduf...
w00t [Tue, 5 Aug 2008 19:12:21 +0000 (19:12 +0000)]
Forward-port r10098 and r10099, fixing anope+inspircd=ftopic ddos. Thanks to Namegduf for all his help.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10100 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoCopypasta
w00t [Tue, 5 Aug 2008 15:16:03 +0000 (15:16 +0000)]
Copypasta

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10097 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoMissed another
w00t [Tue, 5 Aug 2008 15:05:38 +0000 (15:05 +0000)]
Missed another

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10096 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoMissed one.
w00t [Tue, 5 Aug 2008 15:03:49 +0000 (15:03 +0000)]
Missed one.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10095 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoSend ERR_BANNEDFROMCHAN on all extbans preventing join
w00t [Tue, 5 Aug 2008 14:59:06 +0000 (14:59 +0000)]
Send ERR_BANNEDFROMCHAN on all extbans preventing join

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10094 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFix banredirect modifying extban masks, patch based on one provided by jackmcbarn...
w00t [Tue, 5 Aug 2008 14:30:54 +0000 (14:30 +0000)]
Fix banredirect modifying extban masks, patch based on one provided by jackmcbarn, except with length checking to avoid explosions on certain STL implementations

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10093 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoAdd m_serverban, implements extban +b s:server.mask.here, allows +e. This essentially...
w00t [Tue, 5 Aug 2008 12:19:34 +0000 (12:19 +0000)]
Add m_serverban, implements extban +b s:server.mask.here, allows +e. This essentially implements local-only channels, if you care about such things (+be s:* s:my.local.server). Document it as well.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10092 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoDocument m_channelban
w00t [Tue, 5 Aug 2008 12:09:47 +0000 (12:09 +0000)]
Document m_channelban

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10091 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoAdd m_channelban: implements extban +b j: - prevents user from joining a channel...
w00t [Tue, 5 Aug 2008 11:31:03 +0000 (11:31 +0000)]
Add m_channelban: implements extban +b j: - prevents user from joining a channel if a channel they are already on matches a +b j: mask, allows +e. Not yet documented.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10090 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoUse correct method for adding extban type in m_gecosban, add 005 notification of...
w00t [Tue, 5 Aug 2008 11:30:01 +0000 (11:30 +0000)]
Use correct method for adding extban type in m_gecosban, add 005 notification of C extban too

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10089 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoAdd extban +b C: - blocks matching masks from sending CTCP. Allows +e.
w00t [Tue, 5 Aug 2008 11:26:46 +0000 (11:26 +0000)]
Add extban +b C: - blocks matching masks from sending CTCP. Allows +e.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10088 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFix this class name
w00t [Tue, 5 Aug 2008 11:23:11 +0000 (11:23 +0000)]
Fix this class name

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10087 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoInitial commit of m_satopic, provides /satopic. Needs testing on a multi-server network.
om [Mon, 4 Aug 2008 17:44:01 +0000 (17:44 +0000)]
Initial commit of m_satopic, provides /satopic. Needs testing on a multi-server network.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10086 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoAdd optional 3rd parameter to Channel::SetTopic() which overrides all access checks.
om [Mon, 4 Aug 2008 17:43:15 +0000 (17:43 +0000)]
Add optional 3rd parameter to Channel::SetTopic() which overrides all access checks.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10085 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoAdd TOPIC overriding to m_override, requested by Namegduf.
w00t [Mon, 4 Aug 2008 15:37:39 +0000 (15:37 +0000)]
Add TOPIC overriding to m_override, requested by Namegduf.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10084 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoOops, actually, return 1 to block change, 0 to check it, -1 to allow it regardless...
w00t [Mon, 4 Aug 2008 15:31:21 +0000 (15:31 +0000)]
Oops, actually, return 1 to block change, 0 to check it, -1 to allow it regardless. Update docs in header also.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10083 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoAdd Channel::SetTopic(User *, std::string &) to set topic on a channel. Use it in...
w00t [Mon, 4 Aug 2008 15:28:29 +0000 (15:28 +0000)]
Add Channel::SetTopic(User *, std::string &) to set topic on a channel. Use 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