]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
15 years agoAdd <shun:notifyuser>, default on, which notifies the user that their command was...
w00t [Wed, 27 Aug 2008 15:53:06 +0000 (15:53 +0000)]
Add <shun:notifyuser>, default on, which notifies the user that their command was blocked

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

15 years agoAdd and document <shun:enabledcommands>, allowing customisation of specifically which...
w00t [Wed, 27 Aug 2008 15:42:24 +0000 (15:42 +0000)]
Add and document <shun:enabledcommands>, allowing customisation of specifically which commands shunned users may execute. NOTE: PART/QUIT (if allowed) will always suppress the PART/QUIT message. This needs some testing. :)

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

15 years agos/ /\t/
w00t [Wed, 27 Aug 2008 15:37:04 +0000 (15:37 +0000)]
s/    /\t/

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

15 years agoFix retarded windows linefeeds (brain >:()
w00t [Wed, 27 Aug 2008 15:35:53 +0000 (15:35 +0000)]
Fix retarded windows linefeeds (brain >:()

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

15 years agoDelete R:Lines from memory on destroy
w00t [Wed, 27 Aug 2008 15:20:43 +0000 (15:20 +0000)]
Delete R:Lines from memory on destroy

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

15 years agoremove the testing debug setting
brain [Wed, 27 Aug 2008 11:04:19 +0000 (11:04 +0000)]
remove the testing debug setting

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

15 years agoRemove -lunwind from openbsd stuff, per Dagonet
w00t [Tue, 26 Aug 2008 13:47:49 +0000 (13:47 +0000)]
Remove -lunwind from openbsd stuff, per Dagonet

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

15 years agoformatting..
peavey [Tue, 26 Aug 2008 04:58:34 +0000 (04:58 +0000)]
formatting..

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

15 years agoIteration 5 of wildcard matching. Fixes broken matching for certain conditions report...
peavey [Tue, 26 Aug 2008 04:47:45 +0000 (04:47 +0000)]
Iteration 5 of wildcard matching. Fixes broken matching for certain conditions reported by MacGyver.

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

15 years agoAdd test cases that fails current matching, fix to follow soon.
peavey [Tue, 26 Aug 2008 04:43:54 +0000 (04:43 +0000)]
Add test cases that fails current matching, fix to follow soon.

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

15 years agoSomeone messed this up
brain [Tue, 26 Aug 2008 01:37:05 +0000 (01:37 +0000)]
Someone messed this up

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

15 years agoPropset svn:keywords Id
w00t [Mon, 25 Aug 2008 20:50:11 +0000 (20:50 +0000)]
Propset svn:keywords Id

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

15 years agoFix build.
w00t [Mon, 25 Aug 2008 20:43:37 +0000 (20:43 +0000)]
Fix build.

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

15 years agoFix a few malformed Id tags
w00t [Mon, 25 Aug 2008 20:38:22 +0000 (20:38 +0000)]
Fix a few malformed Id tags

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

15 years agoChange module versions to use a string instead of fixed digits, and use propset ID...
w00t [Mon, 25 Aug 2008 20:35:51 +0000 (20:35 +0000)]
Change module versions to use a string instead of fixed digits, and use 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

15 years agoChange module versions to use a string instead of fixed digits, and use propset ID...
w00t [Mon, 25 Aug 2008 20:35:36 +0000 (20:35 +0000)]
Change module versions to use a string instead of fixed digits, and use 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@10290 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoTidy up in the nsis scripts, how it installs the service and removes it (hide the...
brain [Mon, 25 Aug 2008 16:11:01 +0000 (16:11 +0000)]
Tidy up in the nsis scripts, how it installs the service and removes it (hide the dos box, display informational text in the installer window)

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

15 years agoBounds checking on IsModeSet, etc, to stop silly problems
w00t [Mon, 25 Aug 2008 15:49:39 +0000 (15:49 +0000)]
Bounds checking on IsModeSet, etc, to stop silly problems

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

15 years agoImplement /who 1d t (search for who matches for users connected for a given time)
w00t [Mon, 25 Aug 2008 15:43:46 +0000 (15:43 +0000)]
Implement /who 1d t (search for who matches for users connected for a given time)

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

15 years agoAdd opt_time to WHO (will be /who +t flag) and clean the fuck up CommandWho::whomatch...
w00t [Mon, 25 Aug 2008 15:03:44 +0000 (15:03 +0000)]
Add opt_time to WHO (will be /who +t flag) and clean the fuck up CommandWho::whomatch, which was as ugly as sin.

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

15 years agoAdd and document <permchannels> block for m_permchannels, which creates a channel...
w00t [Mon, 25 Aug 2008 13:22:57 +0000 (13:22 +0000)]
Add and document <permchannels> block for m_permchannels, which creates a channel on startup. Fixes bug #511.

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

15 years agoAllow Channel::SetTopic with a NULL user record, which sets a blank topic.
w00t [Mon, 25 Aug 2008 13:20:38 +0000 (13:20 +0000)]
Allow Channel::SetTopic with a NULL user record, which sets a blank topic.

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

15 years agoFixes to make poll(2) socket engine work properly
w00t [Mon, 25 Aug 2008 12:20:13 +0000 (12:20 +0000)]
Fixes to make poll(2) socket engine work properly

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

15 years agoNumerous changes to make this build..
w00t [Mon, 25 Aug 2008 11:38:00 +0000 (11:38 +0000)]
Numerous changes to make this build..

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

15 years agoAdd poll to build system if kqueue/epoll/ports are not used, above select.
w00t [Mon, 25 Aug 2008 11:25:39 +0000 (11:25 +0000)]
Add poll to build system if kqueue/epoll/ports are not used, above select.

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

15 years agoThis include doesn't exist in 1.2
w00t [Mon, 25 Aug 2008 10:45:30 +0000 (10:45 +0000)]
This include doesn't exist in 1.2

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

15 years agoFixes, this can't be taken directly from 1.1
w00t [Mon, 25 Aug 2008 10:43:07 +0000 (10:43 +0000)]
Fixes, this can't be taken directly from 1.1

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

15 years agoForward-port poll socket engine as it seems reasonably stable, and half-hack it into...
w00t [Mon, 25 Aug 2008 01:00:17 +0000 (01:00 +0000)]
Forward-port poll socket engine as it seems reasonably stable, and half-hack 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

15 years agoSome comments
brain [Sun, 24 Aug 2008 23:47:20 +0000 (23:47 +0000)]
Some comments

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

15 years agoEWW windows linefeeds
brain [Sun, 24 Aug 2008 23:45:09 +0000 (23:45 +0000)]
EWW windows linefeeds

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

15 years agoForward-port r10257, fixes bug #599 reported by mixx941.
w00t [Sun, 24 Aug 2008 23:42:20 +0000 (23:42 +0000)]
Forward-port r10257, fixes bug #599 reported by mixx941.

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

15 years agoForward port r10255: prevent redundant mode changes (thanks to mixx941 for my noticin...
w00t [Sun, 24 Aug 2008 23:23:07 +0000 (23:23 +0000)]
Forward port r10255: prevent redundant mode changes (thanks to mixx941 for my noticing this)

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

15 years agoUse the error name constants here now rather than magic numbers. magic numbers blow...
brain [Sun, 24 Aug 2008 23:05:51 +0000 (23:05 +0000)]
Use the error name constants here now rather than magic numbers. magic numbers blow goats.

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

15 years agoProperly name the windows service error constants and put proper descriptions in...
brain [Sun, 24 Aug 2008 23:02:03 +0000 (23:02 +0000)]
Properly name the windows service error constants and put proper descriptions in the error strings

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

15 years agoForgot to remove a ,
brain [Sun, 24 Aug 2008 22:39:23 +0000 (22:39 +0000)]
Forgot to remove a ,

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

15 years agoNo names for the service specific errors, probably wont ever name them as theyre...
brain [Sun, 24 Aug 2008 21:05:15 +0000 (21:05 +0000)]
No names for the service specific errors, probably wont ever name them as theyre never shown in linux

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

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