summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2006-03-09Calling a method of a null object due to refactoring and HasUser - fixedbrain
(Thanks Douglas) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3565 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-08Reformat according to coding guidelines.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3564 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-08These modules were using deprecated Server::IsOnChannel. They arent any more :)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3563 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-08Removed deprecated Server::IsOnChannel (was a C++-ish wrapper to the C-ish ↵brain
has_channel, no longer needed) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3562 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-08Fixed externsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3561 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-08Removed has_channel(userrec*,chanrec*), the new preferred way of doing it is ↵brain
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
2006-03-08Removed declarations of ancient and misspelled functions :/brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3559 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-08cmode was declared here too - declaration removed.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3558 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-08cmode now returns const char* as it returns a pointer to a literal string ↵brain
and shouldnt be messed with git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3557 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-08Got rid of all that ugly char* cast crap (todo: change docs to reflect change)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3556 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-08Fixed #defines to be enums (tidier)brain
Removed UCMODE_PROTECT/UCMODE_FOUNDER git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3555 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-08Someone forgot to test compile this *whistles nonchalantly*brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3554 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-08Allow for fallback of older ircds without TS in BURST commandbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3553 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-08Actually, 64.brain
(256-64-128) = 64 chars printable alphabet (roughly) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3552 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-08chanrec::custom_modes only needs 96 values not 190brain
(256 - 32 - 128) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3551 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-08Stupid, retarded, idiotic bug here where any PONG after the first one gets ↵om
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
2006-03-08Changed m_sqlauth to allow more advanced encryption typesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3549 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-08Back to 10 mins :( My clocks wont sync and i wont sacrifice 110 days uptime ↵brain
just for this :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3548 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-08Changed TS check: Abort on +- 5 mins, warn on +- 60 secs!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3547 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-08Added ConvToStrbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3546 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-08Typosbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3545 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-08Checks for timestamps, boot server off and abort if time delay > 10 mins ↵brain
(the safe value used by inspircd) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3544 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-08Removed unneccessary temporary casts to char* when casting a userrecbrain
Expanded on comment re. WriteOpers git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3543 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-08It's neat. It's tidy. It has no spaces, and almost matches our guidelines...w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3542 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-08More optimisations, memory saving, use the char* loop everywhere else seems ↵om
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
2006-03-08Made this readable, removed spacing, etc.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3540 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-08Avoid some ugly casts and save (well..system dependant..) about...3 bytes of ↵om
ram! :P git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3539 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-08Speed up and deuglify the second part of CompressModes(), stop it searching ↵om
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
2006-03-08Remove some tabbing, remove a typo, use Exit() rather than exit()w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3537 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-07w00t may want to check this worksbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3536 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-07*TEST* Server::DumpText - Dump a *stringstream* to a user with a std::string ↵brain
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
2006-03-07For the record, it's 17 lines - not 5.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3534 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-07Made split_chlist available for external use from commands.hbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3533 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-07What MUPPET made stdin, stdout and stderr FILE* pointers rather than ints?!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3532 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-07close stdin, stderr and stdout rather than freopen to /dev/nullbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3531 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-07Took out space in version identifier that might break stuffbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3530 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-07Safety checking (a really really clever trick btw) in CullList, to make sure ↵brain
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
2006-03-07Buffer flush time now under 0.5 secsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3528 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-07Flush user buffers more often (every 30 iterations)brain
Run whowas hash maintainance every hour git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3527 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-07Too many 'end of whowas' numericsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3526 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-07Whois typo fixesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3525 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-07Typos round onebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3524 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-07Whowas refactor - probably wont compile yetbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3523 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-07NETBURSTS ARE STABLE AGAIN :Dbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3522 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-07Tweaks to socket engine, faster buffer flush and hopefully more stablebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3521 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-07true and false transposed in new codebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3520 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-07Exception to the rules for EAGAINbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3519 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-07Check for write errors in inspsocket (this is probably causing excessive ↵brain
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
2006-03-07Optimizationsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3517 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-07Fixed timedbans (new mode parser didnt like being passed const char* ↵brain
elements as it likes to change them inplace) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3516 e03df62e-2008-0410-955e-edbf42e46eb7