aboutsummaryrefslogtreecommitdiff
path: root/src/channels.cpp
Commit message (Expand)AuthorAgeFilesLines
* Add length checking to GetExtBanStatus and m_banexception.•••As far as I can tell this is not a problem as all ban masks are canonicalised but its better to be safe than sorry. Gravatar Peter Powell2017-11-281-1/+1
* Revert "Fix sending the wrong numerics on join when a topic is empty."•••This reverts commit b0e64b8cea2d721588d92072a8d16fdd99a9c945. The original behavior isn't RFC incompliant, see #1095. Gravatar Attila Molnar2015-10-111-1/+1
* Fix sending the wrong numerics on join when a topic is empty.Gravatar Peter Powell2015-08-261-1/+1
* Reject parameters that begin with a colon in Channel::SetDefaultModes()Gravatar Attila Molnar2014-09-261-0/+5
* Don't try to set a mode in Channel::SetDefaultModes() if it needs a parameter...•••Thanks to @docwhat for helping to track this down, fixes issue #924 Gravatar Attila Molnar2014-09-261-0/+3
* Fix NAMES list getting truncated on servers having an excessively long server...Gravatar Attila Molnar2014-03-131-1/+2
* Backport "Refactor Channel::UserList() to use std::string"•••This gets rid of questionable snprintf() usage, reported by @hifi Backported commit: 8a06d54076551387f83a29360478ee6605e241b6 Gravatar Attila Molnar2014-03-131-25/+21
* Fix some logically dead code which was found by Coverity.Gravatar Peter Powell2014-01-211-10/+2
* Show +i users on a channel to opers having the channels/auspex priv who do /N...•••Discovered by @Cronus89 Gravatar Attila Molnar2014-01-041-2/+4
* Remove unused variables, avoid copies where possible, check empty() instead o...•••Most of these were detected by cppcheck Gravatar attilamolnar2013-05-161-1/+0
* Don't crop the channel name if it's too long in Channel::Channel()•••...and especially don't use the shortened name in one place and the original in another Having different <limits:maxchan> values on the same network is not supported Gravatar attilamolnar2013-04-211-4/+2
* Fix exactly <limits:maxchan> long channel names being truncated•••Fixes #422 reported by @RawrDragon Gravatar attilamolnar2013-02-111-4/+4
* Don't send quitting users in RPL_NAMREPLY, fixes desyncing clients who join a...Gravatar Adam2012-10-311-1/+3
* Check if the mask is long enough before accessing it when checking extbansGravatar attilamolnar2012-10-031-1/+1
* Fix more undefined behavior caused by referencing the returned buffer by std:...•••See 83c7cc45daf6fb1f8c36f15297a4657e45a34e88 Gravatar attilamolnar2012-09-301-1/+2
* Change debug message in Invitation::Find() to output expiration time as a str...Gravatar attilamolnar2012-07-131-1/+1
* Fix pending invites not being removed when a channel was deleted or had its T...Gravatar attilamolnar2012-06-171-0/+88
* Merge pull request #166 from Robby-/insp20-cfgcorrections•••[2.0] Add more documentation about logging, aswell as make text, tab and space corrections to the configs.Gravatar Robin Burchell2012-05-301-1/+1
|\
| * Add more documentation about logging, aswell as make text, tab and space corr...Gravatar Robby-2012-05-301-1/+1
* | Fix printf-style WriteAllExcept not obeying serversource parameterGravatar attilamolnar2012-05-291-1/+1
* | Silence the MODE too if a join was silenced by a module not just the JOIN•••This leaked information when a module gave privs to the joining user in OnUserPreJoin Fix CycleHostsFromUser having the opposite effect Gravatar attilamolnar2012-05-291-5/+9
|/
* Replace copyright headers with headers granting specific authors copyrightGravatar Robby-2012-04-191-8/+20
* Fix unused variables reported by the clang static analyzer.Gravatar Peter Powell2012-04-141-1/+0
* Fix kick level check to scan all status modes and not skip checks for modeles...Gravatar Daniel De Graaf2010-09-301-7/+12
* Fix kicking permisisons - GetPrefixChar returns the prefix, not the mode char...Gravatar Daniel De Graaf2010-09-281-2/+2
* Prevent kicking people you do not have permission to deprivilegeGravatar Daniel De Graaf2010-08-041-3/+6
* 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