summaryrefslogtreecommitdiff
path: root/src/helperfuncs.cpp
AgeCommit message (Collapse)Author
2006-03-09Typical. 0 and 1 to choose from, and i pick the wrong one. (back to front ↵brain
binary) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3594 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-09Modes the wrong way aroundbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3590 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-09(Needs test) Improved userlist()brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3589 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-09Added userrec::modebits - fast way of checking if user has +swi rather than ↵brain
an icky strchr git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3588 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-09Fixed to correctly use iteratorbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3583 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-09Probably wont compile yet - purge_empty_channels refactorbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3579 e03df62e-2008-0410-955e-edbf42e46eb7
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-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-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-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-07Whois typo fixesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3525 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-07Improved userlist to avoid strlenbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3514 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-07Fixed typobrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3509 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-07*TEST CODE* Faster custom mode set/unsetbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3508 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-06maxbans fixesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3495 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-06MaxBans -> maxbansbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3494 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-06Tidied GetMaxBans to leave the ConfigReader subsystem alonebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3491 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-06Removed unneccessary backticks from a copy/pastebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3489 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-06More documentation.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3488 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-06Yarr, fixed a typo in a comment, yarrw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3487 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-06Added the beginnings of some function documentationw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3486 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-06Mode-code rewrite. Might act weird, needs proper testing (that is what svn ↵brain
builds are for, after all) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3474 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-02Added stuff to log() to make it recalculate the time using asctime() less oftenbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3426 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-02Added charlcat which appends a single char to a char* string (range checked)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3416 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-28BanHidingbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3384 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-26Valgrind fixesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3353 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-21Fixedbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3275 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-21Added second form of find() taking const char*, which is faster in the core ↵brain
where char* is used more often git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3273 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-21Improved speed of Find() by passing reference to std::string instead of ↵brain
std::string itself git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3272 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-19Apparently to catch descendent classes we need to catch a reference to the ↵brain
parent, not the parent itself git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3242 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-19Added exception handling for module loadingbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3240 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-13Added bool IsValidChannelName(const char *) - it doesn't seem to blow things ↵w00t
up... git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3182 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-07Properly count remote opers in /LUSERSbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3132 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-03Extra safety checksbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3057 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-03Extra debugging to locate segfaultbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3056 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-03numbskull momentbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3055 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-03This probably wont compile atm - add support for prefixed messagesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3046 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-03*EXPERIMENTAL* <options:hidesplits> ircu-style quit munging for netsplitsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3031 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-31Key hiding when youre not on the channelbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2998 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-31Optimized WriteServ - why use %s!%s@%s when we have the more optimal ↵brain
userrec::GetFullHost() ? git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2997 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-25Add InsertMode function to helperfuncs.(cpp|h) for easily adding modes to ↵om
the CHANMODES section of the 005 numeric git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2897 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-22Added OnChannelDelete() method (called on KICK, PART or QUIT where a channel ↵brain
is deleted for cleanup of metadata) Added m_messageflood.so (not yet finished, do not use yet) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2826 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-15Updated copyrights in headers etc using perl inplace editbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2795 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-12Changed channel user lists from vector to mapbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2780 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-11Changed fd_ref_table from 65536 to more correct MAX_DESCRIPTORSbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2769 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-01Fixes to typos and change to return by reference on GetClassbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2725 e03df62e-2008-0410-955e-edbf42e46eb7