aboutsummaryrefslogtreecommitdiff
path: root/src/channels.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* | Remove $Core and $Mod* comments apart from $ModDep.Gravatar Peter Powell2013-07-041-2/+0
| |
* | Replace hardcoded mode letters passed to IsModeSet() and GetModeParameter() ↵Gravatar attilamolnar2013-07-011-5/+0
| | | | | | | | with ModeHandlers, part 1
* | Fix a few oversightsGravatar attilamolnar2013-07-011-4/+4
| | | | | | | | This partially reverts e0cb6bd46fb1d804ad6adea5688c844f7e1a0f6f
* | Always set the topic in Channel::SetTopic(), move access checks into cmd_topicGravatar attilamolnar2013-06-161-25/+1
| |
* | Call Channel::SetModeParam() from the mode parser when needed instead of ↵Gravatar attilamolnar2013-06-131-4/+1
| | | | | | | | requiring mode handlers to do it
* | Refactor Channel::UserList() to use std::stringGravatar attilamolnar2013-06-041-28/+21
| |
* | Remove the now unused Channel::RemoveAllPrefixes() and CountInvisible()Gravatar attilamolnar2013-06-041-25/+0
| |
* | Reduce User* -> Membership* lookups on part and kickGravatar attilamolnar2013-06-041-32/+50
| |
* | Channel::KickUser() and cmd_kick changesGravatar attilamolnar2013-06-041-28/+14
| | | | | | | | | | | | - Remove uline checks from KickUser() - Disallow the kick if done by a local user and the victim is ulined in cmd_kick - Remove call to RemoveAllPrefixes() as it has no additional effect, the Membership object containing the prefixes is destroyed soon after the call
* | Remove NULL checks from various Channel functionsGravatar attilamolnar2013-06-041-34/+2
| | | | | | | | Passing NULL to these functions are not permitted and must be avoided by the caller
* | Move a few trivial functions into headersGravatar attilamolnar2013-06-021-15/+0
| |
* | Replaced vsnprintf with VAFORMAT pretty much everywhere.Gravatar Daniel Vassdal2013-05-181-34/+13
| |
* | Get rid of strlcpy(), strlcat(), charlcat() and charremove()Gravatar attilamolnar2013-05-161-20/+14
| |
* | Replace some C-isms with C++-isms.Gravatar Peter Powell2013-05-151-22/+11
| | | | | | | | | | | | * 'const char*' to 'const std::string&'. * snprintf to std::string concatenation. * Replace duplicated OneOfMatches with InspIRCd::MatchMask.
* | Merge insp20Gravatar attilamolnar2013-04-281-4/+2
|\|
| * Don't crop the channel name if it's too long in Channel::Channel()Gravatar attilamolnar2013-04-211-4/+2
| | | | | | | | | | | | ...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
* | Channel::JoinUser() and Channel::ForceChan() changesGravatar attilamolnar2013-04-131-80/+89
| | | | | | | | | | | | Convert static Channel::ForceChan() to non-static Channel::ForceJoin() that joins a user to a channel, no permission checks The (static) Channel::JoinUser() now has a LocalUser parameter, and no longer have TS and bursting parameters. If the channel doesn't exist, it is created using current time as TS
* | OnUserPreJoin is a local-only hook, change User* parameter to LocalUser*Gravatar attilamolnar2013-04-131-2/+2
| |
* | Remove the deprecated invite APIGravatar attilamolnar2013-04-131-2/+2
| |
* | Add LOG_ prefix to the log level enum values.Gravatar Peter Powell2013-04-121-9/+9
| |
* | Migrate u_listmode.h into the core, change +b to use itGravatar attilamolnar2013-04-081-34/+19
| |
* | Change channel name parameter of Module::OnUserPreJoin() and ↵Gravatar attilamolnar2013-04-011-11/+12
|/ | | | Channel::JoinUser() to std::string from char*
* Fix exactly <limits:maxchan> long channel names being truncatedGravatar attilamolnar2013-02-111-4/+4
| | | | Fixes #422 reported by @RawrDragon
* Don't send quitting users in RPL_NAMREPLY, fixes desyncing clients who join ↵Gravatar Adam2012-10-311-1/+3
| | | | a channel after a user has quit but before they are culled
* 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 ↵Gravatar attilamolnar2012-09-301-1/+2
| | | | | | std::string::c_str() when the object is temporary See 83c7cc45daf6fb1f8c36f15297a4657e45a34e88
* Change debug message in Invitation::Find() to output expiration time as a ↵Gravatar attilamolnar2012-07-131-1/+1
| | | | string to avoid warnings
* Fix pending invites not being removed when a channel was deleted or had its ↵Gravatar attilamolnar2012-06-171-0/+88
| | | | TS lowered
* Merge pull request #166 from Robby-/insp20-cfgcorrectionsGravatar Robin Burchell2012-05-301-1/+1
|\ | | | | [2.0] Add more documentation about logging, aswell as make text, tab and space corrections to the configs.
| * Add more documentation about logging, aswell as make text, tab and space ↵Gravatar Robby-2012-05-301-1/+1
| | | | | | | | corrections to the configs
* | 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 JOINGravatar attilamolnar2012-05-291-5/+9
|/ | | | | This leaked information when a module gave privs to the joining user in OnUserPreJoin Fix CycleHostsFromUser having the opposite effect
* 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 ↵Gravatar Daniel De Graaf2010-09-301-7/+12
| | | | modeless users
* Fix kicking permisisons - GetPrefixChar returns the prefix, not the mode ↵Gravatar Daniel De Graaf2010-09-281-2/+2
| | | | character
* 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)Gravatar danieldg2010-03-151-2/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12637 e03df62e-2008-0410-955e-edbf42e46eb7
* Make "topiclock" exemption only apply when +t is setGravatar danieldg2010-03-071-6/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12613 e03df62e-2008-0410-955e-edbf42e46eb7
* Restore <options:exemptchanops> with long namesGravatar danieldg2010-02-201-2/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12502 e03df62e-2008-0410-955e-edbf42e46eb7
* Kill m_spy, which was replaced by channels/auspex in 1.2 but kept alive for ↵Gravatar danieldg2010-02-191-16/+7
| | | | | | nostalgia git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12497 e03df62e-2008-0410-955e-edbf42e46eb7
* Allow exemptchanops to modify the channel access level needed to bypass +tGravatar danieldg2010-02-091-7/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12413 e03df62e-2008-0410-955e-edbf42e46eb7
* Don't enforce access control on remote users for topic changesGravatar danieldg2010-02-051-24/+17
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12376 e03df62e-2008-0410-955e-edbf42e46eb7
* Search for correct access level for mode changes, remove hardcoded halfop ↵Gravatar danieldg2010-01-161-1/+1
| | | | | | references git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12265 e03df62e-2008-0410-955e-edbf42e46eb7
* ...because every now and again, i have to do a massive commit.Gravatar brain2010-01-111-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12248 e03df62e-2008-0410-955e-edbf42e46eb7
* Disallow adding prefix-mode when it is already set (fixes bug #935)Gravatar danieldg2010-01-091-4/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12245 e03df62e-2008-0410-955e-edbf42e46eb7
* Add ModeHandler* versions of channel mode accessGravatar danieldg2009-11-151-24/+25
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12133 e03df62e-2008-0410-955e-edbf42e46eb7
* Send %#chan messages to all members ranked at least halfop, not just those ↵Gravatar danieldg2009-11-061-5/+5
| | | | | | that have halfop git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12046 e03df62e-2008-0410-955e-edbf42e46eb7
* Get rid of ModePairGravatar danieldg2009-10-241-1/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11963 e03df62e-2008-0410-955e-edbf42e46eb7
* Make User::uuid and User::server constGravatar danieldg2009-10-231-10/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11962 e03df62e-2008-0410-955e-edbf42e46eb7