w00t
|
58f4306bb6
|
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
|
2008-08-22 15:16:46 +00:00 |
|
special
|
517a26252a
|
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
|
2008-08-22 10:09:36 +00:00 |
|
w00t
|
c16cda5d71
|
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
|
2008-08-21 20:56:16 +00:00 |
|
brain
|
5e3bfa266b
|
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
|
2008-08-21 20:08:42 +00:00 |
|
brain
|
7dd31e2b7a
|
fixes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10207 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-08-21 16:07:54 +00:00 |
|
brain
|
33295316f5
|
zap the evil externs, and comment the lot
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10205 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-08-21 14:41:55 +00:00 |
|
w00t
|
d9767dabc6
|
Typo
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10204 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-08-21 13:50:43 +00:00 |
|
w00t
|
c48da0d68b
|
Don't even touch remote joins.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10202 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-08-21 13:49:40 +00:00 |
|
w00t
|
486ab0f5e2
|
Use ERR_BANNEDFROMCHAN, not ERR_TOOMANYCHANNELS
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10201 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-08-21 13:45:07 +00:00 |
|
brain
|
6a3319c7fc
|
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
|
2008-08-21 13:40:34 +00:00 |
|
brain
|
cc3503abc4
|
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
|
2008-08-21 13:36:15 +00:00 |
|
brain
|
2fdfbe85d3
|
add service install and remove calls to installer.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10198 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-08-21 12:54:59 +00:00 |
|
brain
|
823f071fd1
|
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
|
2008-08-21 12:39:21 +00:00 |
|
brain
|
e1fb9123c2
|
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
|
2008-08-21 12:19:09 +00:00 |
|
brain
|
c1a2a8abca
|
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
|
2008-08-21 12:13:09 +00:00 |
|
brain
|
839ff9b521
|
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
|
2008-08-21 11:21:46 +00:00 |
|
brain
|
2c5db1dfcb
|
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
|
2008-08-21 11:01:51 +00:00 |
|
brain
|
bc73d93718
|
properly coreexport the getcpu() function etc
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10184 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-08-20 11:47:52 +00:00 |
|
brain
|
696e90acdb
|
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
|
2008-08-20 11:21:43 +00:00 |
|
brain
|
a10ae79f0f
|
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
|
2008-08-20 10:31:56 +00:00 |
|
brain
|
7721a4de67
|
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
|
2008-08-20 10:27:46 +00:00 |
|
brain
|
1bdc61df77
|
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
|
2008-08-20 09:56:16 +00:00 |
|
brain
|
8e83ee21a6
|
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
|
2008-08-19 22:12:36 +00:00 |
|
brain
|
c30f85f6e2
|
Apply to clictx too
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10164 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-08-18 22:56:56 +00:00 |
|
w00t
|
25ef8cc436
|
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
|
2008-08-18 22:44:49 +00:00 |
|
brain
|
4ca5fb1994
|
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
|
2008-08-18 19:25:05 +00:00 |
|
brain
|
1bedd18744
|
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
|
2008-08-17 17:30:10 +00:00 |
|
brain
|
8b060bea02
|
These are not percentages
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10150 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-08-17 16:53:22 +00:00 |
|
brain
|
985c2bd1e6
|
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
|
2008-08-17 16:16:49 +00:00 |
|
brain
|
e9b7d71c55
|
Another edge case suggested by peavey (passes)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10148 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-08-17 15:40:29 +00:00 |
|
brain
|
dd6464f8f6
|
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
|
2008-08-17 15:33:13 +00:00 |
|
brain
|
25ab84013a
|
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
|
2008-08-12 20:44:26 +00:00 |
|
aquanight
|
6f3fcc5f21
|
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
|
2008-08-10 21:34:01 +00:00 |
|
w00t
|
78712e9668
|
Fix RPL_NAMREPLY sometimes fucking up
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10137 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-08-10 18:15:33 +00:00 |
|
peavey
|
823f0ab7aa
|
Fix checks on GetExt everywhere its used.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10135 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-08-10 16:45:46 +00:00 |
|
peavey
|
c0090ae7eb
|
Forward port r10133.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10134 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-08-10 16:37:31 +00:00 |
|
aquanight
|
49d8629c3f
|
Unbreak compile for real.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10132 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-08-09 18:59:36 +00:00 |
|
w00t
|
4e286021d7
|
Unbreak compile..
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10131 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-08-09 18:50:12 +00:00 |
|
aquanight
|
c512706209
|
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
|
2008-08-09 17:15:43 +00:00 |
|
brain
|
bd1b245800
|
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
|
2008-08-09 14:20:07 +00:00 |
|
w00t
|
8d3a30d4c5
|
I am a retard, mixx941 is my god
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10124 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-08-07 19:17:17 +00:00 |
|
w00t
|
54c49b40f7
|
Don't add duplicate invites
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10122 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-08-07 18:17:23 +00:00 |
|
w00t
|
6d64862fb5
|
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
|
2008-08-07 16:35:58 +00:00 |
|
w00t
|
fd657b6cd1
|
Restrict uninvite
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10119 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-08-07 16:18:33 +00:00 |
|
w00t
|
f1426e7c16
|
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
|
2008-08-07 16:10:06 +00:00 |
|
w00t
|
6222cb47cc
|
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
|
2008-08-07 16:04:43 +00:00 |
|
w00t
|
c87812cb4b
|
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
|
2008-08-07 16:04:17 +00:00 |
|
w00t
|
48f5beea5b
|
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
|
2008-08-07 15:59:01 +00:00 |
|
w00t
|
b03ec6a4ea
|
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
|
2008-08-07 15:32:10 +00:00 |
|
w00t
|
669b43c9db
|
Fix incorrect numerics, closes bug #588
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10113 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-08-07 15:30:06 +00:00 |
|