aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_ojoin.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Use ChanModeReference for finding the op mode in ojoin.Gravatar Sadie Powell2020-05-291-4/+6
|
* Update the module descriptions using mkversion.Gravatar Sadie Powell2020-04-101-1/+1
|
* Fix unnecessary inlining in command handler constructors.Gravatar Sadie Powell2020-03-091-1/+2
|
* Update copyright headers.Gravatar InspIRCd Robot2020-01-311-1/+1
|
* Add Channel::WriteRemoteNotice and revert WriteNotice changes.Gravatar Sadie Powell2020-01-291-1/+1
| | | | | | This is a partial reversion of 687778b72e. See also: #1749.
* Update copyright headers.Gravatar InspIRCd Robot2020-01-111-1/+4
|
* Allow Channel::WriteNotice send to other servers and status ranks.Gravatar Peter Powell2019-11-171-5/+1
|
* Some more text fixes and improvements (#1618).Gravatar Robby2019-04-281-1/+1
|
* Use CommandBase::Params instead of std::vector<std::string>.Gravatar Peter Powell2018-07-261-1/+1
| | | | | This is presently a typedef but will soon be replaced with a class that encapsulates both tags and parameters.
* Add the override keyword in places that it is missing.Gravatar Peter Powell2017-11-211-2/+2
| | | | GCCs warnings for this are much better than Clangs.
* Add support for setting the unset rank in ModeHandler.Gravatar Peter Powell2017-11-061-1/+1
|
* Add CXX11_OVERRIDE to overridden members that lack it.Gravatar Peter Powell2017-07-121-1/+1
| | | | | This fixes a ton of warnings when building on compilers that default to C++11 or newer.
* Penalize commands that had 0 penaltyGravatar Attila Molnar2016-12-301-1/+1
|
* Change Membership:hasMode() to accept a PrefixModeGravatar Attila Molnar2016-08-301-1/+1
|
* Send NOTICEs to local channel members with Channel::WriteNotice()Gravatar Attila Molnar2016-03-051-3/+3
|
* Convert WriteNumeric() calls to pass the parameters of the numeric as method ↵Gravatar Attila Molnar2016-02-251-1/+1
| | | | parameters
* Replace irc::modestacker usage with the new ModeParser::Process()Gravatar Attila Molnar2014-09-031-9/+8
|
* m_ojoin Change allocation of NetworkPrefix to be physically part of the ↵Gravatar Attila Molnar2014-08-061-23/+8
| | | | object containing it
* m_ojoin Leave it to the core throw an exception if the prefix char is in useGravatar Attila Molnar2014-08-061-2/+0
|
* Pass prefix rank and prefix char to PrefixMode constructorGravatar Attila Molnar2014-08-061-3/+1
|
* Merge insp20Gravatar Attila Molnar2014-07-251-1/+0
|\
| * m_ojoin Remove pointless FindChan() callGravatar Attila Molnar2014-04-131-1/+0
| | | | | | | | Found by Coverity, CID: 1135649
* | Use WriteNumeric() everywhere we send numerics and include the user's nick ↵Gravatar Adam2013-11-121-1/+1
| | | | | | | | automatically
* | Create a base class for prefix modesGravatar attilamolnar2013-09-111-10/+2
| | | | | | | | Move Channel::SetPrefix() into Membership
* | Automatically register ServiceProviders created by modulesGravatar attilamolnar2013-09-081-1/+0
| |
* | Replace OnRehash() with ReadConfig() that is called on boot, on module load ↵Gravatar attilamolnar2013-08-301-4/+1
| | | | | | | | | | | | and on rehash This eliminates the need for calling OnRehash() in init()
* | Fix a couple of issuesGravatar attilamolnar2013-08-081-1/+1
| | | | | | | | | | | | | | | | - Wrong doc for Snomask::GetDescription() - Incorrect idle time when WHOISing remote users - String + int = garbage - Remote MODE commands (user mode changes) being broadcast in addition to being forwarded - Incorrect revision being shown
* | Automatically attach modules to eventsGravatar attilamolnar2013-08-041-3/+0
| |
* | m_ojoin Stop hardcoding +Y, move global vars into a class, move ↵Gravatar attilamolnar2013-07-191-24/+22
| | | | | | | | initialization code into init()
* | Remove $Core and $Mod* comments apart from $ModDep.Gravatar Peter Powell2013-07-041-19/+1
| |
* | Remove TR_END, remove TRANSLATEx() from commands that do not need itGravatar attilamolnar2013-06-131-1/+0
| |
* | Introduce ModeProcessFlags, can be passed to ModeParser::Process() to ↵Gravatar attilamolnar2013-06-131-1/+1
| | | | | | | | | | | | | | | | indicate local only mode changes and mode merges Change ProtocolInterface::SendMode() to take source and destination parameters, and call it from the mode parser whenever the mode change is global This deprecates the ambiguous InspIRCd::SendMode() and InspIRCd::SendGlobalMode() interface (the latter sent mode changes originating from local users twice, etc.)
* | Store prefix rank in a ModeHandler field, change ↵Gravatar attilamolnar2013-06-061-5/+1
| | | | | | | | ModeHandler::GetPrefixRank() to be non-virtual
* | Simplify user mode removal via ModeHandler::RemoveMode()Gravatar attilamolnar2013-05-271-4/+0
| | | | | | | | | | The function does not need to be virtual because the core can remove any user mode using the default logic The optional modestack parameter was always NULL, so remove it
* | Deduplicate RemoveMode() implementationsGravatar attilamolnar2013-05-271-30/+0
| | | | | | | | | | The default (core) implementation can now remove prefix modes The modestacker parameter is now mandatory
* | Remove the size argument from IsChannel and IsNick.Gravatar Peter Powell2013-05-181-1/+1
| | | | | | | | | | There was only one case (which was probably an error) where these methods were not set to their ServerLimits value.
* | Tidy up keywords on module methods.Gravatar Peter Powell2013-05-151-5/+5
| | | | | | | | | | - Remove virtual keyword from a ton of methods which don't need it. - Add override keyword to a ton of methods which do need it.
* | Add method for writing server notices.Gravatar Peter Powell2013-05-141-1/+1
| | | | | | | | | | | | | | | | | | This allows us to send a server notice to a user without worrying about whether they are registered or not. If a user receives a server notice and they are not registered then the nickname field will contain an asterisk instead of their nick name.
* | Channel::JoinUser() and Channel::ForceChan() changesGravatar attilamolnar2013-04-131-5/+7
| | | | | | | | | | | | 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-1/+1
| |
* | Whitespace and empty destructor removal, minor coding style changesGravatar attilamolnar2013-04-011-1/+0
| |
* | Purge references to the deprecated GetStackedLine method.Gravatar Peter Powell2013-04-011-1/+1
| |
* | Change channel name parameter of Module::OnUserPreJoin() and ↵Gravatar attilamolnar2013-04-011-1/+1
|/ | | | Channel::JoinUser() to std::string from char*
* Dynamically determine the size of the eventlist[] passed to Attach()Gravatar attilamolnar2012-12-021-1/+1
| | | | m_sqlauth was attached to I_OnUserDisconnect but didn't provide a handler for it, remove
* ServerConfig::ServerName is a std::string, don't call .c_str() on it when ↵Gravatar attilamolnar2012-11-191-1/+1
| | | | passing it to Channel::WriteChannelWithServ, etc.
* m_ojoin Fix giving +Y only instead of +Yo when <ojoin:op> is on and the user ↵Gravatar attilamolnar2012-10-241-1/+3
| | | | is already in the channel
* Remove superfluous std::string()sGravatar attilamolnar2012-10-121-4/+4
|
* Replace copyright headers with headers granting specific authors copyrightGravatar Robby-2012-04-191-8/+14
|
* Typofix in m_ojoinGravatar Rutger2012-04-011-1/+1
| | | | In m_ojoin 'business' was miss-spelled.
* Fix typoGravatar danieldg2010-02-071-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12397 e03df62e-2008-0410-955e-edbf42e46eb7