summaryrefslogtreecommitdiff
path: root/src/channels.cpp
Commit message (Expand)AuthorAgeFilesLines
* Use CycleHostsFromUser for on-join modes too (m_autoop)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12637 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-03-151-2/+1
* Make "topiclock" exemption only apply when +t is set•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12613 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-03-071-6/+7
* Restore <options:exemptchanops> with long names•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12502 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-02-201-2/+1
* Kill m_spy, which was replaced by channels/auspex in 1.2 but kept alive for n...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12497 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-02-191-16/+7
* Allow exemptchanops to modify the channel access level needed to bypass +t•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12413 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-02-091-7/+7
* Don't enforce access control on remote users for topic changes•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12376 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-02-051-24/+17
* Search for correct access level for mode changes, remove hardcoded halfop ref...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12265 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-01-161-1/+1
* ...because every now and again, i have to do a massive commit.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12248 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2010-01-111-1/+1
* Disallow adding prefix-mode when it is already set (fixes bug #935)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12245 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-01-091-4/+5
* Add ModeHandler* versions of channel mode access•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12133 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-11-151-24/+25
* Send %#chan messages to all members ranked at least halfop, not just those th...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12046 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-11-061-5/+5
* Get rid of ModePair•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11963 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-241-1/+3
* Make User::uuid and User::server const•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11962 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-231-10/+0
* Use Config->MaxChans as the default if class does not define maxchans•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11946 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-211-1/+4
* Move all local-only fields to LocalUser•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11944 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-211-16/+12
* Fix channel deletion on user quit and automatic removal of mode "z"•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11934 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-201-30/+16
* Cull channels, warn when Extensible objects are not culled as they must be•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11901 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-181-32/+27
* Get rid of a bunch of memory-wasting C-style strings•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11796 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-031-9/+11
* Fix GetExtBanStatus returning MOD_RES_ALLOW when user does not have a ban exe...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11778 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-291-1/+1
* Remove InspIRCd* parameters and fields•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11763 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-261-29/+29
* Change match direction of extbans to allow stacking•••This allows you create stacked bans like: +b m:r:*bot* to mute anyone with bot in their gecos +e S:j:+#staff to allow voices in #staff to use color It also deprecates extban M, which can be implemented using m:R: git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11711 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-131-45/+33
* Fix GetPrefixChar returning empty if a non-prefix mode was used•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11706 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-131-14/+4
* Remove redundant ServerInstance* fields•••It has been impossible to have more than one InspIRCd* object in the same address space for some time now, and this feature was never used. This formalizes class InspIRCd as a singleton object. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11703 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-131-2/+2
* Use FindMode instead of FindPrefix for OnUserPreJoin privs; makes it possible...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11702 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-131-2/+2
* Simplify ModeHandler constructor•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11701 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-131-2/+2
* Replace OnAccessCheck with OnPreMode to remove a number of redundant checks•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11700 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-131-16/+17
* Module API changes to use Membership* where sensible•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11699 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-131-27/+34
* Remove double prefix conversion from Channel::RawWriteAllExcept•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11698 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-131-1/+8
* Membership* changes•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11697 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-131-199/+77
* Likewise, convert OnLocalTopicChange to OnPreTopicChange and to be run for bo...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11678 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2009-09-051-2/+2
* Change OnPostLocalTopicChange to be OnPostTopicChange, invoked for both remot...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11677 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2009-09-051-2/+3
* inline Channel::IsModeSet•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11643 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-021-5/+0
* Rip out VisData in preparation for replacing it with more flexible hooks•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11640 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-021-3/+0
* ModResult conversion: Change return type of all module functions•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11634 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-021-95/+71
* Remove a few unneeded string copies in the PRIVMSG path•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11606 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-021-8/+12
* Replace FOREACH_RESULT_MAP with a more readable and flexible do_each_hook/whi...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11598 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-021-9/+15
* Add "created" parameter to OnUserJoin, to avoid explicit checks for +P•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11597 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-021-3/+3
* Partial revert of 1fb8a3f1b120db764375911be9ad8019a807a8ad by dKingston, (add...•••This is *not* defined as a return for JOIN message, and it's a bit annoying too. Keep the define and use it in TOPIC instead of '331' though. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11527 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2009-08-151-4/+0
* Merge patch from dKingston for missing TOPIC numeric, also replace the litera...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11510 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2009-08-131-0/+4
* Fixes for config reader•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11504 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-08-121-2/+2
* Check for oper max chans before user max chans, fixes code weirdness and bug ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11422 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2009-06-301-8/+0
* Use a FakeUser source for server-sourced commands in spanningtree•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11376 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-05-131-43/+2
* Overloading SetMode seems to cause the compiler to interpret "" as a bool and...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11335 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-04-291-1/+1
* Fix crash from unregistered users joining a channel, discovered by Namegduf•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11328 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-04-241-1/+2
* Use loopCall to protect OnUserKick rather than the triggerevents hack•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11321 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-04-201-5/+2
* Fix SetModeParam to use std::string and handle edge cases.•••Previously, changing the vaule of a mode could require 3 calls to SetMode and SetModeParam. This also fixes memory leaks caused by the strdup() not always being paired with a free(). git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11307 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-04-171-13/+8
* Check IsBanned even when the ban list is empty, so that module hooks get call...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11248 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-03-231-6/+3
* Update all wiki links to point to the new wiki. This was done automatically w...•••for file in $(find -type f -and -not -path '*/.svn/*' -and -not -name '*.so') ; do sed -e 's#http://www.inspircd.org/wiki#http://wiki.inspircd.org#' -e 's#http://wiki.inspircd.org/index.php/#http://wiki.inspircd.org/#' -i $file ; done git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11223 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar psychon2009-03-151-1/+1
* Extban rework: allow exceptions to override bans on join•••Move all bans that prevent a user from joining the channel to OnCheckBan, then stack their return results to allow an exception to override a ban. This does not make join exceptions override any other exception like mute. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11222 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-03-141-51/+46
* Nuke trailing spaces•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11105 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2009-02-141-1/+1