summaryrefslogtreecommitdiff
path: root/src/helperfuncs.cpp
Commit message (Expand)AuthorAgeFilesLines
...
* signal/raise in the sigsegv handler to re-raise the sig for a coredump•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3913 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-04-281-0/+2
* Fix various typos and warnings•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3907 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-04-241-1/+1
* delete operator tracking in debug mode (using a macro -- live with it.)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3904 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-04-241-1/+1
* execinfo - backtrace() and backtrace_symbols() where available•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3887 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-04-201-1/+20
* Shuffle some more includes around, const reference a few functions in inspircd.*•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3854 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-04-091-0/+1
* Split inspircd_io.* insp inspsocket.* and configreader.* with a few odd bits ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3847 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-04-081-14/+31
* Make WriteServ use WriteServ_NoFormat, code duplication = bad >:/•••Change some weirdness using a stringstream for a simple append. Force a flush of all opers' write buffers after they get the oper notice about a /DIE git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3842 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-04-071-25/+2
* Slight optimisation to config reader, looks nicer even if it's not faster.•••Make ./inspircd script use -nolog (it already used -debug, which didn't exist until now!?) Add commandline options -nolog and -debug, -debug forces all log messages to be output regardless of level. -nolog stops the logfile being written, so you can run with -debug without filling up your disk. make clean && make install, apparently some of the core doesn't depend on inspircd_io.h in the makefiles..so it'll probably segfault if you don't. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3841 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-04-071-7/+8
* Holy christ that was a LOT OF SPACES. TABS, USE THEM, LOVE THEM, APPRECIATE T...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3838 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2006-04-061-1/+1
* Add WriteOpers_NoFormat, now to remember what I wanted it for•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3824 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-04-041-1/+12
* All new shiny config parser, there's probably some bugs there somewhere but h...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3817 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-04-041-10/+3
* This doesn't belong in userprocess.cpp. :P•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3811 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2006-04-041-0/+83
* Tidyup: (unsigned) cast to more explicit (unsigned char)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3746 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-211-1/+1
* Trivial: ServerPrivmsgAll() sending Notices•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3743 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-201-1/+1
* LUSERS oper count was broken and reporting the oper count to always be equal ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3738 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-191-1/+1
* Fixed a missing reference to chanrec::modes•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3693 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-121-1/+1
* *NEEDS TESTING* changed binarymodes to use the custom_modes entries•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3691 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-121-31/+22
* Start of conversion to const refs for std::strings in module api - A LOT OF S...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3654 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-111-9/+3
* Tidyup by making some thing sprintf only once rather than n times (where n is...•••String reference stuff for one function git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3653 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-111-7/+25
* Another const reference conversion, and remove redundant declaration of userr...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3633 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-03-101-1/+1
* patch <inspircd-userlist-ptr-safety.diff (Thanks nenolod)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3630 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-101-13/+17
* Typical. 0 and 1 to choose from, and i pick the wrong one. (back to front bin...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3594 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-091-1/+1
* Modes the wrong way around•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3590 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-091-6/+6
* (Needs test) Improved userlist()•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3589 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-091-8/+16
* Added userrec::modebits - fast way of checking if user has +swi rather than a...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3588 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-091-5/+5
* Fixed to correctly use iterator•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3583 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-091-27/+18
* Probably wont compile yet - purge_empty_channels refactor•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3579 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-091-31/+19
* mptr++ not *mptr++!•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3578 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-091-1/+1
* Fix buffer overflow (visible in /mode #channel)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3577 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-03-091-3/+3
* Fixed externs•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3561 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-081-2/+2
* Removed has_channel(userrec*,chanrec*), the new preferred way of doing it is ...•••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 Gravatar brain2006-03-081-1/+6
* 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 Gravatar brain2006-03-081-93/+66
* 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 Gravatar brain2006-03-081-38/+21
* 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 Gravatar w00t2006-03-081-877/+1094
* Whois typo fixes•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3525 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-071-1/+1
* Optimizations•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3517 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-071-26/+14
* Improved userlist to avoid strlen•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3514 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-071-6/+9
* Fixed typo•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3509 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-071-1/+1
* *TEST CODE* Faster custom mode set/unset•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3508 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-071-12/+11
* maxbans fixes•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3495 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-061-2/+6
* MaxBans -> maxbans•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3494 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-061-1/+1
* Tidied GetMaxBans to leave the ConfigReader subsystem alone•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3491 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-061-11/+6
* Removed unneccessary backticks from a copy/paste•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3489 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-061-6/+6
* More documentation.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3488 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2006-03-061-7/+20
* Yarr, fixed a typo in a comment, yarr•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3487 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2006-03-061-1/+1
* Added the beginnings of some function documentation•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3486 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2006-03-061-1/+12
* Mode-code rewrite. Might act weird, needs proper testing (that is what svn bu...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3474 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-061-0/+15
* Added stuff to log() to make it recalculate the time using asctime() less often•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3426 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-021-8/+17
* Added charlcat which appends a single char to a char* string (range checked)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3416 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-021-2/+17
* BanHiding•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3384 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-02-281-9/+16