summaryrefslogtreecommitdiff
path: root/src/helperfuncs.cpp
Commit message (Expand)AuthorAgeFilesLines
* Add an fflush() call after logging, hopefully fixes the issue with delayed lo...•••git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@4092 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2006-07-011-0/+3
* Pointer safety for Write* functions (check the local user exists in the fd_re...•••git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@4055 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-06-241-28/+30
* If the <ALLOW> or <DENY> tag specifies an ip, and this user resolves,•••then their ip will be taken as 'priority' anyway, so for example, <connect allow="127.0.0.1"> will match joe!bloggs@localhost git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@3998 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-06-121-2/+6
* Fix for mode string getting cut, breaks on some +L•••git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@3994 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-06-081-1/+1
* signal/raise in the sigsegv handler to re-raise the sig for a coredump•••git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@3914 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2006-04-281-0/+2
* Test tweak to clarify how channel joins work•••git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@3902 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-04-211-1/+1
* 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
* Valgrind fixes•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3353 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-02-261-2/+2
* Fixed•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3275 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-02-211-1/+1
* Added second form of find() taking const char*, which is faster in the core w...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3273 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-02-211-0/+12
* Improved speed of Find() by passing reference to std::string instead of std::...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3272 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-02-211-1/+1
* Apparently to catch descendent classes we need to catch a reference to the pa...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3242 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-02-191-7/+7
* Added exception handling for module loading•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3240 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-02-191-7/+57