summaryrefslogtreecommitdiff
path: root/src/mode.cpp
Commit message (Expand)AuthorAgeFilesLines
...
* Typo fixes, move some stuff about•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3862 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-04-101-5/+28
* INSERT foot INTO mouth WHERE user='Brain'•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3861 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-04-101-3/+2
* I hate HATE HATE templates.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3860 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-04-101-1/+2
* istringstream not ostringstream•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3859 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-04-101-1/+1
* Extra allowance for modes which have different number of params when being se...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3858 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-04-101-52/+35
* Start of new mode parser•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3857 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-04-101-2/+80
* Om's way is better and lets watchers change mode parameters for the modes the...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3856 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-04-091-17/+3
* Start of mode parser refactoring•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3855 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-04-091-0/+88
* 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-1/+1
* 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-169/+169
* Undo me screwing stuff up•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3797 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-04-021-119/+49
* Add amd64/linux to list of OS'es tested, but mainly CIA test :P•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3796 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-04-021-49/+119
* Renamed to chanrec::modes•••Renamed IsCustomModeSet to IsModeSet GetModeParameter will now return the channel limit (as a string) for a request for mode 'l' and the channel key for a request for mode 'k'. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3692 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-121-35/+35
* *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-30/+34
* Set bitfields on servermode•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3619 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-101-0/+28
* Mostly formatting cleanup, rename a 'Ptr' to a more meaningful 'chan', remove...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3604 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-03-091-61/+70
* UM_WALLOPS had value 3 which was a combination of UM_SERVERNOTICE and UM_INVI...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3591 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-091-0/+4
* 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-3/+3
* 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/+27
* Grant and revoke now use iterators•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3581 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-091-18/+22
* 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-3/+3
* 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-6/+6
* More optimisations, memory saving, use the char* loop everywhere else seems t...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3541 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-03-081-20/+23
* Avoid some ugly casts and save (well..system dependant..) about...3 bytes of ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3539 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-03-081-3/+4
* Speed up and deuglify the second part of CompressModes(), stop it searching f...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3538 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-03-081-10/+8
* Fixed timedbans (new mode parser didnt like being passed const char* element...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3516 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-071-6/+5
* TOPIC optimizations, fixes to mode setting with new custom_modes system•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3512 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-071-1/+1
* Fixed to work properly with new refactoring•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3510 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-071-1/+1
* Fixed issue with parameterless module modes•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3506 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-071-5/+5
* select not case•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3492 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-061-1/+1
* Tidyups•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3490 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-061-199/+184
* Tidying of some vars here and there•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3485 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-061-12/+2
* Sorted out some silly indenting left over from an if() that died a death year...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3484 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-061-373/+369
* Removal of variable that no longer has any use•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3483 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-061-4/+0
* Tidied up give/take methods•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3482 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-061-176/+88
* Indent tidyup•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3481 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-061-4/+4
* Unneccessary strcasecmps•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3480 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-061-6/+6
* Comments in the right places•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3479 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-061-6/+6
* I dont think there are any more non-essential strlcpy's left in here.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3478 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-061-10/+10
* Removed another strlcpy -- a lot of copying stuff that doesnt need to be copi...•••Obviously in the past, we werent so careful and mucked up/polluted params as we dealt with them! :P git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3477 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-061-4/+1
* Removed redundant strlcpy•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3476 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-061-8/+8
* Removed debug•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3475 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-061-3/+0
* 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-284/+179
* Fix for bug first noticed by zephyrus where you could send -j+ntr to a channe...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3458 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-041-4/+5
* Fix for MODE #chan +o- nick or +o-- nick, etc•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3443 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-031-13/+16
* Typos•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3439 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-021-1/+1
* Added IS_SINGLE, see comment in include/inspircd.h•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3438 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-021-3/+3
* Made host fields more correct 64 in length with 63 copies•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3425 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-021-2/+3
* Made extensive use of charlcat to cut down on strlcat usage•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3417 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-021-34/+27
* Valgrind fixes (libstdc++ is broken! :O)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3354 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-02-261-22/+35