summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2006-03-09mptr++ not *mptr++!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3578 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-09Fix buffer overflow (visible in /mode #channel)om
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3577 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-09Cleanup.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3576 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-09Better calculation of LUSERSbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3575 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-09Changed LUSERS to show global current to not include unregistered connectionsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3574 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-09More of the same cleanup :Pw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3573 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-09Don't show channels where all users are invisible and therefore usercount is 0brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3572 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-09More cleanupw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3571 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-09Add 'you are a nub' messages to /squit and /connect stubsw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3570 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-09Wrong var used here, oooopsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3569 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-09Update to Start() credits, now refers users to /info outputw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3568 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-09More cleanup, moved Om and myself to core teamw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3567 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-09Speedup of listbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3566 e03df62e-2008-0410-955e-edbf42e46eb7
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