aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_sajoin.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Some more text fixes and improvements (#1618).Gravatar Robby2019-04-281-2/+2
|
* Remove the 'noisy' mode for HasPrivPermission.Gravatar Peter Powell2019-04-191-1/+1
| | | | This was only used in one place.
* Various text improvements: consistency, syntax, help and doc updates/fixes.Gravatar Robby2019-02-181-2/+2
|
* Use CommandBase::Params instead of std::vector<std::string>.Gravatar Peter Powell2018-07-261-2/+2
| | | | | 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.
* Penalize commands that had 0 penaltyGravatar Attila Molnar2016-12-301-1/+1
|
* Simplify GetRouting() methods doing unicastGravatar Attila Molnar2016-03-291-4/+1
|
* Send NOTICEs that can go to both local and remote users with ↵Gravatar Attila Molnar2016-03-011-1/+1
| | | | User::WriteRemoteNotice()
* Convert WriteNumeric() calls to pass the parameters of the numeric as method ↵Gravatar Attila Molnar2016-02-251-1/+1
| | | | parameters
* m_sajoin, m_sapart Support a comma separated list of channelsGravatar Attila Molnar2014-04-141-2/+6
| | | | Issue #818
* m_sajoin Abort and report if the target user is already on the channelGravatar Attila Molnar2014-04-141-2/+9
| | | | Fixes issue #820 reported by @UselessOper
* Simplify /SAJOIN syntax and add permission for joining other users.Gravatar Daniel Vassdal2014-02-261-8/+17
|
* Merge insp20Gravatar Attila Molnar2014-01-211-2/+1
|\
| * m_sajoin Send global snotice when the join happensGravatar Attila Molnar2014-01-141-2/+1
| | | | | | | | | | | | Remove "sent remote SAJOIN" local snotice Fixes issue #382 reported by @JDowny
* | Introduce Server classGravatar Attila Molnar2014-01-051-1/+1
| | | | | | | | | | - Replaces std::string server in User - Replaces InspIRCd::ULine() and SilentULine()
* | Clean up error messages in a few SA commandsGravatar Attila Molnar2013-12-181-11/+3
| |
* | Use WriteNumeric() everywhere we send numerics and include the user's nick ↵Gravatar Adam2013-11-121-1/+1
| | | | | | | | automatically
* | Automatically register ServiceProviders created by modulesGravatar attilamolnar2013-09-081-5/+0
| |
* | Remove $Core and $Mod* comments apart from $ModDep.Gravatar Peter Powell2013-07-041-2/+0
| |
* | Remove TR_END, remove TRANSLATEx() from commands that do not need itGravatar attilamolnar2013-06-131-1/+1
| |
* | 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-2/+2
| | | | | | | | | | - 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-4/+4
| | | | | | | | | | | | | | | | | | 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-6/+5
| | | | | | | | | | | | 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
* | Whitespace and empty destructor removal, minor coding style changesGravatar attilamolnar2013-04-011-5/+0
| |
* | Change channel name parameter of Module::OnUserPreJoin() and ↵Gravatar attilamolnar2013-04-011-1/+1
|/ | | | Channel::JoinUser() to std::string from char*
* Add a flag to Command that controls whether an empty last parameter is ↵Gravatar attilamolnar2012-12-151-0/+1
| | | | allowed or not
* Add IS_SERVER() and REG_ALL checks to (mostly oper only) commands taking a ↵Gravatar attilamolnar2012-12-151-1/+1
| | | | | | target nickname If a SID was passed as the target user parameter or when it's an unregistered user reply with the "no such nick" (or the moral equivalent) message
* Register all commands, modes and extensions using AddService()Gravatar attilamolnar2012-12-021-1/+1
| | | | AddService() throws an exception if an item cannot be registered, modules no longer need to worry about AddMode() etc. failing
* Attach to events and register services in init()Gravatar attilamolnar2012-12-021-0/+4
|
* Remove superfluous std::string()sGravatar attilamolnar2012-10-121-6/+6
|
* Updated the version lines on several modules.Gravatar Shawn Smith2012-07-061-2/+2
|
* Replace copyright headers with headers granting specific authors copyrightGravatar Robby-2012-04-191-8/+16
|
* ...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
* Remove dummy API_VERSION from Version constructorGravatar danieldg2009-10-171-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11887 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove InspIRCd* parameters and fieldsGravatar danieldg2009-09-261-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11763 e03df62e-2008-0410-955e-edbf42e46eb7
* Describe module purpose in /MODULES outputGravatar danieldg2009-09-221-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11757 e03df62e-2008-0410-955e-edbf42e46eb7
* Clean up Command constructorGravatar danieldg2009-09-131-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11707 e03df62e-2008-0410-955e-edbf42e46eb7
* Change more modules to use VF_OPTCOMMON routingGravatar danieldg2009-09-021-1/+9
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11654 e03df62e-2008-0410-955e-edbf42e46eb7
* Add Module* creator to Command and ModeHandlerGravatar danieldg2009-09-021-3/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11631 e03df62e-2008-0410-955e-edbf42e46eb7
* Change allocation of commands/modesGravatar danieldg2009-09-021-6/+3
| | | | | | | | | | API change: Commands passed to AddCommand are no longer deleted automatically This removes lots of needless heap allocation and fixes a few memory leaks by allocating commands and modes as part of the Module rather than creating them separately in the module constructor. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11592 e03df62e-2008-0410-955e-edbf42e46eb7
* Convert snomask 'A' into snomask 'a' for local announcements, add snomask ↵Gravatar w00t2009-04-161-2/+2
| | | | | | | | | 'A' for remote announcements. Make SAMODE send a snotice to 'a' and remote to 'A' - fixes bug #822, reported by Taros We really need a wrapper to use these, but, for now it's usable. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11304 e03df62e-2008-0410-955e-edbf42e46eb7
* Update all wiki links to point to the new wiki. This was done automatically ↵Gravatar psychon2009-03-151-1/+1
| | | | | | | | | with the following command, only .Makefile.inc got some indent fixups by hand. 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
* Update copyrights for 2009.Gravatar w00t2009-01-021-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10932 e03df62e-2008-0410-955e-edbf42e46eb7
* Change module versions to use a string instead of fixed digits, and use ↵Gravatar w00t2008-08-251-1/+1
| | | | | | propset ID to auto-set versions, so we don't have (essentially unused) module versions. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10291 e03df62e-2008-0410-955e-edbf42e46eb7
* Lots, lots more numerics.h conversionGravatar w00t2008-07-141-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10014 e03df62e-2008-0410-955e-edbf42e46eb7
* fixed some indentation and spacing in modulesGravatar pippijn2008-06-111-4/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9888 e03df62e-2008-0410-955e-edbf42e46eb7
* More compile fixesGravatar brain2008-05-251-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9805 e03df62e-2008-0410-955e-edbf42e46eb7
* First phase of conversion to dynamic limits on all the lengths, configured ↵Gravatar brain2008-05-251-2/+2
| | | | | | | | | via the <limits> tag (the tag isnt there yet, these all just run on defaults in the class constructor) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9802 e03df62e-2008-0410-955e-edbf42e46eb7
* Commit theseGravatar brain2008-05-191-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9757 e03df62e-2008-0410-955e-edbf42e46eb7