summaryrefslogtreecommitdiff
path: root/src/helperfuncs.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fixed a missing reference to chanrec::modesGravatar brain2006-03-121-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3693 e03df62e-2008-0410-955e-edbf42e46eb7
* *NEEDS TESTING* changed binarymodes to use the custom_modes entriesGravatar brain2006-03-121-31/+22
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3691 e03df62e-2008-0410-955e-edbf42e46eb7
* Start of conversion to const refs for std::strings in module api - A LOT OF ↵Gravatar brain2006-03-111-9/+3
| | | | | | STUFF WONT WORK YET git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3654 e03df62e-2008-0410-955e-edbf42e46eb7
* Tidyup by making some thing sprintf only once rather than n times (where n ↵Gravatar brain2006-03-111-7/+25
| | | | | | | | | is number of targets) String reference stuff for one function git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3653 e03df62e-2008-0410-955e-edbf42e46eb7
* Another const reference conversion, and remove redundant declaration of ↵Gravatar om2006-03-101-1/+1
| | | | | | userrec* Find() from globals.h git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3633 e03df62e-2008-0410-955e-edbf42e46eb7
* patch <inspircd-userlist-ptr-safety.diff (Thanks nenolod)Gravatar brain2006-03-101-13/+17
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3630 e03df62e-2008-0410-955e-edbf42e46eb7
* Typical. 0 and 1 to choose from, and i pick the wrong one. (back to front ↵Gravatar brain2006-03-091-1/+1
| | | | | | binary) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3594 e03df62e-2008-0410-955e-edbf42e46eb7
* Modes the wrong way aroundGravatar brain2006-03-091-6/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3590 e03df62e-2008-0410-955e-edbf42e46eb7
* (Needs test) Improved userlist()Gravatar brain2006-03-091-8/+16
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3589 e03df62e-2008-0410-955e-edbf42e46eb7
* Added userrec::modebits - fast way of checking if user has +swi rather than ↵Gravatar brain2006-03-091-5/+5
| | | | | | an icky strchr git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3588 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed to correctly use iteratorGravatar brain2006-03-091-27/+18
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3583 e03df62e-2008-0410-955e-edbf42e46eb7
* Probably wont compile yet - purge_empty_channels refactorGravatar brain2006-03-091-31/+19
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3579 e03df62e-2008-0410-955e-edbf42e46eb7
* mptr++ not *mptr++!Gravatar brain2006-03-091-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3578 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix buffer overflow (visible in /mode #channel)Gravatar om2006-03-091-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3577 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed externsGravatar brain2006-03-081-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3561 e03df62e-2008-0410-955e-edbf42e46eb7
* Removed has_channel(userrec*,chanrec*), the new preferred way of doing it is ↵Gravatar brain2006-03-081-1/+6
| | | | | | | | | 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
* Got rid of all that ugly char* cast crap (todo: change docs to reflect change)Gravatar brain2006-03-081-93/+66
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3556 e03df62e-2008-0410-955e-edbf42e46eb7
* Removed unneccessary temporary casts to char* when casting a userrecGravatar brain2006-03-081-38/+21
| | | | | | | Expanded on comment re. WriteOpers git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3543 e03df62e-2008-0410-955e-edbf42e46eb7
* It's neat. It's tidy. It has no spaces, and almost matches our guidelines...Gravatar w00t2006-03-081-877/+1094
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3542 e03df62e-2008-0410-955e-edbf42e46eb7
* Whois typo fixesGravatar brain2006-03-071-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3525 e03df62e-2008-0410-955e-edbf42e46eb7
* OptimizationsGravatar brain2006-03-071-26/+14
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3517 e03df62e-2008-0410-955e-edbf42e46eb7
* Improved userlist to avoid strlenGravatar brain2006-03-071-6/+9
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3514 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed typoGravatar brain2006-03-071-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3509 e03df62e-2008-0410-955e-edbf42e46eb7
* *TEST CODE* Faster custom mode set/unsetGravatar brain2006-03-071-12/+11
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3508 e03df62e-2008-0410-955e-edbf42e46eb7
* maxbans fixesGravatar brain2006-03-061-2/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3495 e03df62e-2008-0410-955e-edbf42e46eb7
* MaxBans -> maxbansGravatar brain2006-03-061-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3494 e03df62e-2008-0410-955e-edbf42e46eb7
* Tidied GetMaxBans to leave the ConfigReader subsystem aloneGravatar brain2006-03-061-11/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3491 e03df62e-2008-0410-955e-edbf42e46eb7
* Removed unneccessary backticks from a copy/pasteGravatar brain2006-03-061-6/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3489 e03df62e-2008-0410-955e-edbf42e46eb7
* More documentation.Gravatar w00t2006-03-061-7/+20
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3488 e03df62e-2008-0410-955e-edbf42e46eb7
* Yarr, fixed a typo in a comment, yarrGravatar w00t2006-03-061-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3487 e03df62e-2008-0410-955e-edbf42e46eb7
* Added the beginnings of some function documentationGravatar w00t2006-03-061-1/+12
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3486 e03df62e-2008-0410-955e-edbf42e46eb7
* Mode-code rewrite. Might act weird, needs proper testing (that is what svn ↵Gravatar brain2006-03-061-0/+15
| | | | | | builds are for, after all) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3474 e03df62e-2008-0410-955e-edbf42e46eb7
* Added stuff to log() to make it recalculate the time using asctime() less oftenGravatar brain2006-03-021-8/+17
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3426 e03df62e-2008-0410-955e-edbf42e46eb7
* Added charlcat which appends a single char to a char* string (range checked)Gravatar brain2006-03-021-2/+17
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3416 e03df62e-2008-0410-955e-edbf42e46eb7
* BanHidingGravatar brain2006-02-281-9/+16
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3384 e03df62e-2008-0410-955e-edbf42e46eb7
* Valgrind fixesGravatar brain2006-02-261-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3353 e03df62e-2008-0410-955e-edbf42e46eb7
* FixedGravatar brain2006-02-211-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3275 e03df62e-2008-0410-955e-edbf42e46eb7
* Added second form of find() taking const char*, which is faster in the core ↵Gravatar brain2006-02-211-0/+12
| | | | | | where char* is used more often git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3273 e03df62e-2008-0410-955e-edbf42e46eb7
* Improved speed of Find() by passing reference to std::string instead of ↵Gravatar brain2006-02-211-1/+1
| | | | | | std::string itself git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3272 e03df62e-2008-0410-955e-edbf42e46eb7
* Apparently to catch descendent classes we need to catch a reference to the ↵Gravatar brain2006-02-191-7/+7
| | | | | | parent, not the parent itself git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3242 e03df62e-2008-0410-955e-edbf42e46eb7
* Added exception handling for module loadingGravatar brain2006-02-191-7/+57
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3240 e03df62e-2008-0410-955e-edbf42e46eb7
* Added bool IsValidChannelName(const char *) - it doesn't seem to blow things ↵Gravatar w00t2006-02-131-0/+33
| | | | | | up... git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3182 e03df62e-2008-0410-955e-edbf42e46eb7
* Properly count remote opers in /LUSERSGravatar brain2006-02-071-1/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3132 e03df62e-2008-0410-955e-edbf42e46eb7
* Extra safety checksGravatar brain2006-02-031-6/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3057 e03df62e-2008-0410-955e-edbf42e46eb7
* Extra debugging to locate segfaultGravatar brain2006-02-031-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3056 e03df62e-2008-0410-955e-edbf42e46eb7
* numbskull momentGravatar brain2006-02-031-8/+8
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3055 e03df62e-2008-0410-955e-edbf42e46eb7
* This probably wont compile atm - add support for prefixed messagesGravatar brain2006-02-031-4/+34
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3046 e03df62e-2008-0410-955e-edbf42e46eb7
* *EXPERIMENTAL* <options:hidesplits> ircu-style quit munging for netsplitsGravatar brain2006-02-031-3/+36
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3031 e03df62e-2008-0410-955e-edbf42e46eb7
* Key hiding when youre not on the channelGravatar brain2006-01-311-2/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2998 e03df62e-2008-0410-955e-edbf42e46eb7
* Optimized WriteServ - why use %s!%s@%s when we have the more optimal ↵Gravatar brain2006-01-311-4/+4
| | | | | | userrec::GetFullHost() ? git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2997 e03df62e-2008-0410-955e-edbf42e46eb7