]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
18 years agoImproved strhashcomp with no allocations
brain [Thu, 9 Mar 2006 15:41:25 +0000 (15:41 +0000)]
Improved strhashcomp with no allocations

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

18 years agoSegfault-causing typo (wrong var used for a loop, whoops)
brain [Thu, 9 Mar 2006 15:34:19 +0000 (15:34 +0000)]
Segfault-causing typo (wrong var used for a loop, whoops)

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

18 years agoTypical. 0 and 1 to choose from, and i pick the wrong one. (back to front binary)
brain [Thu, 9 Mar 2006 14:33:54 +0000 (14:33 +0000)]
Typical. 0 and 1 to choose from, and i pick the wrong one. (back to front binary)

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

18 years agoForgot to declare var
brain [Thu, 9 Mar 2006 14:28:04 +0000 (14:28 +0000)]
Forgot to declare var

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

18 years agoUMode tweaks
brain [Thu, 9 Mar 2006 14:23:49 +0000 (14:23 +0000)]
UMode tweaks

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

18 years agoUM_WALLOPS had value 3 which was a combination of UM_SERVERNOTICE and UM_INVISIBLE :/
brain [Thu, 9 Mar 2006 14:18:33 +0000 (14:18 +0000)]
UM_WALLOPS had value 3 which was a combination of UM_SERVERNOTICE and UM_INVISIBLE :/

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

18 years agoModes the wrong way around
brain [Thu, 9 Mar 2006 14:13:16 +0000 (14:13 +0000)]
Modes the wrong way around

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

18 years ago(Needs test) Improved userlist()
brain [Thu, 9 Mar 2006 13:54:13 +0000 (13:54 +0000)]
(Needs test) Improved userlist()

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

18 years agoAdded userrec::modebits - fast way of checking if user has +swi rather than an icky...
brain [Thu, 9 Mar 2006 13:21:35 +0000 (13:21 +0000)]
Added userrec::modebits - fast way of checking if user has +swi rather than an icky strchr

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

18 years agoFix printf format to get rid of compile warning (using %d for a long, change to %ld)
om [Thu, 9 Mar 2006 12:40:52 +0000 (12:40 +0000)]
Fix printf format to get rid of compile warning (using %d for a long, change to %ld)

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

18 years agoiterator hell
brain [Thu, 9 Mar 2006 12:37:31 +0000 (12:37 +0000)]
iterator hell

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

18 years agoFixed to use iterator
brain [Thu, 9 Mar 2006 12:32:53 +0000 (12:32 +0000)]
Fixed to use iterator

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

18 years agoCorrectly use iterators and pointer to ucrec
brain [Thu, 9 Mar 2006 12:28:35 +0000 (12:28 +0000)]
Correctly use iterators and pointer to ucrec

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

18 years agoFixed to correctly use iterator
brain [Thu, 9 Mar 2006 12:23:04 +0000 (12:23 +0000)]
Fixed to correctly use iterator

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

18 years agoChange to ucrec* iterators
brain [Thu, 9 Mar 2006 12:01:05 +0000 (12:01 +0000)]
Change to ucrec* iterators

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

18 years agoGrant and revoke now use iterators
brain [Thu, 9 Mar 2006 11:40:25 +0000 (11:40 +0000)]
Grant and revoke now use iterators

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

18 years agoFixed to use iterators
brain [Thu, 9 Mar 2006 11:34:47 +0000 (11:34 +0000)]
Fixed to use iterators

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

18 years agoProbably wont compile yet - purge_empty_channels refactor
brain [Thu, 9 Mar 2006 11:24:30 +0000 (11:24 +0000)]
Probably wont  compile yet - purge_empty_channels refactor

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

18 years agomptr++ not *mptr++!
brain [Thu, 9 Mar 2006 09:31:37 +0000 (09:31 +0000)]
mptr++ not *mptr++!

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

18 years agoFix buffer overflow (visible in /mode #channel)
om [Thu, 9 Mar 2006 03:01:11 +0000 (03:01 +0000)]
Fix buffer overflow (visible in /mode #channel)

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

18 years agoCleanup.
w00t [Thu, 9 Mar 2006 01:12:18 +0000 (01:12 +0000)]
Cleanup.

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

18 years agoBetter calculation of LUSERS
brain [Thu, 9 Mar 2006 01:09:44 +0000 (01:09 +0000)]
Better calculation of LUSERS

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

18 years agoChanged LUSERS to show global current to not include unregistered connections
brain [Thu, 9 Mar 2006 01:05:43 +0000 (01:05 +0000)]
Changed LUSERS to show global current to not include unregistered connections

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

18 years agoMore of the same cleanup :P
w00t [Thu, 9 Mar 2006 00:39:13 +0000 (00:39 +0000)]
More of the same cleanup :P

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

18 years agoDon't show channels where all users are invisible and therefore usercount is 0
brain [Thu, 9 Mar 2006 00:35:57 +0000 (00:35 +0000)]
Don't show channels where all users are invisible and therefore usercount is 0

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

18 years agoMore cleanup
w00t [Thu, 9 Mar 2006 00:29:20 +0000 (00:29 +0000)]
More cleanup

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

18 years agoAdd 'you are a nub' messages to /squit and /connect stubs
w00t [Thu, 9 Mar 2006 00:18:28 +0000 (00:18 +0000)]
Add 'you are a nub' messages to /squit and /connect stubs

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

18 years agoWrong var used here, oooops
brain [Thu, 9 Mar 2006 00:18:20 +0000 (00:18 +0000)]
Wrong var used here, oooops

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

18 years agoUpdate to Start() credits, now refers users to /info output
w00t [Thu, 9 Mar 2006 00:13:22 +0000 (00:13 +0000)]
Update to Start() credits, now refers users to /info output

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

18 years agoMore cleanup, moved Om and myself to core team
w00t [Thu, 9 Mar 2006 00:08:16 +0000 (00:08 +0000)]
More cleanup, moved Om and myself to core team

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

18 years agoSpeedup of list
brain [Thu, 9 Mar 2006 00:04:39 +0000 (00:04 +0000)]
Speedup of list

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

18 years agoCalling a method of a null object due to refactoring and HasUser - fixed
brain [Thu, 9 Mar 2006 00:02:12 +0000 (00:02 +0000)]
Calling a method of a null object due to refactoring and HasUser - fixed
(Thanks Douglas)

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

18 years agoReformat according to coding guidelines.
w00t [Wed, 8 Mar 2006 23:45:37 +0000 (23:45 +0000)]
Reformat according to coding guidelines.

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

18 years agoThese modules were using deprecated Server::IsOnChannel. They arent any more :)
brain [Wed, 8 Mar 2006 23:33:24 +0000 (23:33 +0000)]
These modules were using deprecated Server::IsOnChannel. They arent any more :)

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

18 years agoRemoved deprecated Server::IsOnChannel (was a C++-ish wrapper to the C-ish has_channe...
brain [Wed, 8 Mar 2006 23:26:30 +0000 (23:26 +0000)]
Removed deprecated Server::IsOnChannel (was a C++-ish wrapper to the C-ish has_channel, no longer needed)

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

18 years agoFixed externs
brain [Wed, 8 Mar 2006 23:21:59 +0000 (23:21 +0000)]
Fixed externs

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

18 years agoRemoved has_channel(userrec*,chanrec*), the new preferred way of doing it is channel...
brain [Wed, 8 Mar 2006 23:16:18 +0000 (23:16 +0000)]
Removed has_channel(userrec*,chanrec*), the new preferred way of doing it is channel->HasUser(userrec)
Yeah its the other way around to the old way, but somehow, seems less backwards to me (its also faster)

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

18 years agoRemoved declarations of ancient and misspelled functions :/
brain [Wed, 8 Mar 2006 21:34:11 +0000 (21:34 +0000)]
Removed declarations of ancient and misspelled functions :/

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

18 years agocmode was declared here too - declaration removed.
brain [Wed, 8 Mar 2006 21:17:38 +0000 (21:17 +0000)]
cmode was declared here too - declaration removed.

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

18 years agocmode now returns const char* as it returns a pointer to a literal string and shouldn...
brain [Wed, 8 Mar 2006 21:16:05 +0000 (21:16 +0000)]
cmode now returns const char* as it returns a pointer to a literal string and shouldnt be messed with

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

18 years agoGot rid of all that ugly char* cast crap (todo: change docs to reflect change)
brain [Wed, 8 Mar 2006 18:59:55 +0000 (18:59 +0000)]
Got rid of all that ugly char* cast crap (todo: change docs to reflect change)

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

18 years agoFixed #defines to be enums (tidier)
brain [Wed, 8 Mar 2006 18:25:51 +0000 (18:25 +0000)]
Fixed #defines to be enums (tidier)
Removed UCMODE_PROTECT/UCMODE_FOUNDER

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

18 years agoSomeone forgot to test compile this *whistles nonchalantly*
brain [Wed, 8 Mar 2006 17:13:36 +0000 (17:13 +0000)]
Someone forgot to test compile this *whistles nonchalantly*

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

18 years agoAllow for fallback of older ircds without TS in BURST command
brain [Wed, 8 Mar 2006 13:32:11 +0000 (13:32 +0000)]
Allow for fallback of older ircds without TS in BURST command

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

18 years agoActually, 64.
brain [Wed, 8 Mar 2006 13:06:07 +0000 (13:06 +0000)]
Actually, 64.
(256-64-128) = 64 chars printable alphabet (roughly)

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

18 years agochanrec::custom_modes only needs 96 values not 190
brain [Wed, 8 Mar 2006 13:05:07 +0000 (13:05 +0000)]
chanrec::custom_modes only needs 96 values not 190
(256 - 32 - 128)

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

18 years agoStupid, retarded, idiotic bug here where any PONG after the first one gets you kicked...
om [Wed, 8 Mar 2006 12:43:07 +0000 (12:43 +0000)]
Stupid, retarded, idiotic bug here where any PONG after the first one gets you kicked. Never picked it up cause with Xchat's lag meter the server never actually PINGed me :"

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

18 years agoChanged m_sqlauth to allow more advanced encryption types
brain [Wed, 8 Mar 2006 12:11:02 +0000 (12:11 +0000)]
Changed m_sqlauth to allow more advanced encryption types

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

18 years agoBack to 10 mins :( My clocks wont sync and i wont sacrifice 110 days uptime just...
brain [Wed, 8 Mar 2006 11:48:42 +0000 (11:48 +0000)]
Back to 10 mins :( My clocks wont sync and i wont sacrifice 110 days uptime just for this :p

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

18 years agoChanged TS check: Abort on +- 5 mins, warn on +- 60 secs!
brain [Wed, 8 Mar 2006 11:38:31 +0000 (11:38 +0000)]
Changed TS check: Abort on +- 5 mins, warn on +- 60 secs!

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

18 years agoAdded ConvToStr
brain [Wed, 8 Mar 2006 11:28:03 +0000 (11:28 +0000)]
Added ConvToStr

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

18 years agoTypos
brain [Wed, 8 Mar 2006 11:24:44 +0000 (11:24 +0000)]
Typos

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

18 years agoChecks for timestamps, boot server off and abort if time delay > 10 mins (the safe...
brain [Wed, 8 Mar 2006 11:22:14 +0000 (11:22 +0000)]
Checks for timestamps, boot server off and abort if time delay > 10 mins (the safe value used by inspircd)

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

18 years agoRemoved unneccessary temporary casts to char* when casting a userrec
brain [Wed, 8 Mar 2006 10:37:49 +0000 (10:37 +0000)]
Removed unneccessary temporary casts to char* when casting a userrec
Expanded on comment re. WriteOpers

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

18 years agoIt's neat. It's tidy. It has no spaces, and almost matches our guidelines...
w00t [Wed, 8 Mar 2006 03:35:21 +0000 (03:35 +0000)]
It's neat. It's tidy. It has no spaces, and almost matches our guidelines...

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

18 years agoMore optimisations, memory saving, use the char* loop everywhere else seems to love...
om [Wed, 8 Mar 2006 01:50:38 +0000 (01:50 +0000)]
More optimisations, memory saving, use the char* loop everywhere else seems to love so much, use short rather than int to save a little more ram

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

18 years agoMade this readable, removed spacing, etc.
w00t [Wed, 8 Mar 2006 01:39:50 +0000 (01:39 +0000)]
Made this readable, removed spacing, etc.

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

18 years agoAvoid some ugly casts and save (well..system dependant..) about...3 bytes of ram! :P
om [Wed, 8 Mar 2006 01:04:03 +0000 (01:04 +0000)]
Avoid some ugly casts and save (well..system dependant..) about...3 bytes of ram! :P

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

18 years agoSpeed up and deuglify the second part of CompressModes(), stop it searching for a...
om [Wed, 8 Mar 2006 00:55:53 +0000 (00:55 +0000)]
Speed up and deuglify the second part of CompressModes(), stop it searching for a character three times when it only needs to once, stop it allocating an ugly static char[2] it didn't need, and stop it creating a std::string it didn't need either

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

18 years agoRemove some tabbing, remove a typo, use Exit() rather than exit()
w00t [Wed, 8 Mar 2006 00:33:05 +0000 (00:33 +0000)]
Remove some tabbing, remove a typo, use Exit() rather than exit()

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

18 years agow00t may want to check this works
brain [Tue, 7 Mar 2006 23:41:45 +0000 (23:41 +0000)]
w00t may want to check this works

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

18 years ago*TEST* Server::DumpText - Dump a *stringstream* to a user with a std::string prefix...
brain [Tue, 7 Mar 2006 23:07:47 +0000 (23:07 +0000)]
*TEST* Server::DumpText - Dump a *stringstream* to a user with a std::string prefix, splitting at 512 boundaries.
Much more useful than cannibalizing a specialized function

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

18 years agoFor the record, it's 17 lines - not 5.
w00t [Tue, 7 Mar 2006 23:01:39 +0000 (23:01 +0000)]
For the record, it's 17 lines - not 5.

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

18 years agoMade split_chlist available for external use from commands.h
brain [Tue, 7 Mar 2006 22:25:34 +0000 (22:25 +0000)]
Made split_chlist available for external use from commands.h

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

18 years agoWhat MUPPET made stdin, stdout and stderr FILE* pointers rather than ints?!
brain [Tue, 7 Mar 2006 22:16:41 +0000 (22:16 +0000)]
What MUPPET made stdin, stdout and stderr FILE* pointers rather than ints?!

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

18 years agoclose stdin, stderr and stdout rather than freopen to /dev/null
brain [Tue, 7 Mar 2006 22:15:36 +0000 (22:15 +0000)]
close stdin, stderr and stdout rather than freopen to /dev/null

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

18 years agoTook out space in version identifier that might break stuff
brain [Tue, 7 Mar 2006 21:47:51 +0000 (21:47 +0000)]
Took out space in version identifier that might break stuff

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

18 years agoSafety checking (a really really clever trick btw) in CullList, to make sure that...
brain [Tue, 7 Mar 2006 20:21:54 +0000 (20:21 +0000)]
Safety checking (a really really clever trick btw) in CullList, to make sure that the user we're removing IS the user that was marked for deletion X seconds ago, even if the user has since quit, to be replaced by another unfortunate wretch who was given the same pointer address (eeep)

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

18 years agoBuffer flush time now under 0.5 secs
brain [Tue, 7 Mar 2006 19:45:21 +0000 (19:45 +0000)]
Buffer flush time now under 0.5 secs

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

18 years agoFlush user buffers more often (every 30 iterations)
brain [Tue, 7 Mar 2006 19:37:04 +0000 (19:37 +0000)]
Flush user buffers more often (every 30 iterations)
Run whowas hash maintainance every hour

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

18 years agoToo many 'end of whowas' numerics
brain [Tue, 7 Mar 2006 19:23:56 +0000 (19:23 +0000)]
Too many 'end of whowas' numerics

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

18 years agoWhois typo fixes
brain [Tue, 7 Mar 2006 19:18:46 +0000 (19:18 +0000)]
Whois typo fixes

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

18 years agoTypos round one
brain [Tue, 7 Mar 2006 19:14:23 +0000 (19:14 +0000)]
Typos round one

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

18 years agoWhowas refactor - probably wont compile yet
brain [Tue, 7 Mar 2006 19:11:50 +0000 (19:11 +0000)]
Whowas refactor - probably wont compile yet

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

18 years agoNETBURSTS ARE STABLE AGAIN :D
brain [Tue, 7 Mar 2006 18:05:37 +0000 (18:05 +0000)]
NETBURSTS ARE STABLE AGAIN :D

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

18 years agoTweaks to socket engine, faster buffer flush and hopefully more stable
brain [Tue, 7 Mar 2006 18:00:45 +0000 (18:00 +0000)]
Tweaks to socket engine, faster buffer flush and hopefully more stable

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

18 years agotrue and false transposed in new code
brain [Tue, 7 Mar 2006 17:37:17 +0000 (17:37 +0000)]
true and false transposed in new code

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

18 years agoException to the rules for EAGAIN
brain [Tue, 7 Mar 2006 17:34:02 +0000 (17:34 +0000)]
Exception to the rules for EAGAIN

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

18 years agoCheck for write errors in inspsocket (this is probably causing excessive cpu use...
brain [Tue, 7 Mar 2006 17:32:55 +0000 (17:32 +0000)]
Check for write errors in inspsocket (this is probably  causing excessive cpu use when we have a large buffer to flush but a write error has occured (which we missed))

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

18 years agoOptimizations
brain [Tue, 7 Mar 2006 17:16:55 +0000 (17:16 +0000)]
Optimizations

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

18 years agoFixed timedbans (new mode parser didnt like being passed const char* elements as...
brain [Tue, 7 Mar 2006 12:25:25 +0000 (12:25 +0000)]
Fixed timedbans (new mode parser didnt like being passed const  char* elements as it likes to change them inplace)

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

18 years agoTook strlen's out of fjoin
brain [Tue, 7 Mar 2006 12:11:25 +0000 (12:11 +0000)]
Took strlen's out of fjoin

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

18 years agoImproved userlist to avoid strlen
brain [Tue, 7 Mar 2006 12:05:34 +0000 (12:05 +0000)]
Improved userlist to avoid strlen

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

18 years agoTidying, strlen, strcasecmp where not needed.
brain [Tue, 7 Mar 2006 11:55:22 +0000 (11:55 +0000)]
Tidying, strlen, strcasecmp where not needed.

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

18 years agoTOPIC optimizations, fixes to mode setting with new custom_modes system
brain [Tue, 7 Mar 2006 11:37:57 +0000 (11:37 +0000)]
TOPIC optimizations, fixes to mode setting with new custom_modes system

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

18 years agoChecking of user/nick/pass without strncmp! (compare object pointers in the command...
brain [Tue, 7 Mar 2006 11:32:10 +0000 (11:32 +0000)]
Checking of user/nick/pass without strncmp! (compare object pointers in the command map!)

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

18 years agoFixed to work properly with new refactoring
brain [Tue, 7 Mar 2006 11:12:56 +0000 (11:12 +0000)]
Fixed to work properly with new refactoring

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

18 years agoFixed typo
brain [Tue, 7 Mar 2006 11:03:16 +0000 (11:03 +0000)]
Fixed typo

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

18 years ago*TEST CODE* Faster custom mode set/unset
brain [Tue, 7 Mar 2006 10:58:56 +0000 (10:58 +0000)]
*TEST CODE* Faster  custom mode set/unset

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

18 years agoAdded a 'max depth' to stop recursive issue
brain [Tue, 7 Mar 2006 10:25:40 +0000 (10:25 +0000)]
Added a 'max depth' to stop recursive issue

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

18 years agoFixed issue with parameterless module modes
brain [Tue, 7 Mar 2006 10:19:55 +0000 (10:19 +0000)]
Fixed issue with parameterless module modes

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

18 years agoOptimisation of optimisation :P ty w00tie
om [Tue, 7 Mar 2006 09:56:19 +0000 (09:56 +0000)]
Optimisation of optimisation :P ty w00tie

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

18 years agoDifferent way of displaying squit server group
brain [Tue, 7 Mar 2006 09:19:20 +0000 (09:19 +0000)]
Different way of displaying squit server group

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

18 years agoMore work on /check.. now gives basic information on a user, no channel list yet...
w00t [Tue, 7 Mar 2006 01:34:26 +0000 (01:34 +0000)]
More work on /check.. now gives basic information on a user, no channel list yet - and port number doesn't display.

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

18 years agoNo need to be inline in the include
brain [Tue, 7 Mar 2006 01:21:16 +0000 (01:21 +0000)]
No need to be inline in the include

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

18 years agoFixed wtf-ery of Modules::SendTo - did i write this before WriteServ???
brain [Tue, 7 Mar 2006 00:45:14 +0000 (00:45 +0000)]
Fixed wtf-ery of Modules::SendTo - did i write this before WriteServ???

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

18 years agoRemoved a lot of total craq
brain [Tue, 7 Mar 2006 00:40:07 +0000 (00:40 +0000)]
Removed a lot of total craq

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

18 years agoInitial revision of /check - doesn't do anything yet
w00t [Tue, 7 Mar 2006 00:12:39 +0000 (00:12 +0000)]
Initial revision of /check - doesn't do anything yet

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

18 years agoImproved ProcessParameters (removed strlen)
brain [Tue, 7 Mar 2006 00:11:23 +0000 (00:11 +0000)]
Improved ProcessParameters (removed strlen)

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

18 years agoChanged return to break in mainloop for better efficiency
brain [Mon, 6 Mar 2006 22:34:39 +0000 (22:34 +0000)]
Changed return to break in mainloop for better efficiency

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