aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_alias.cpp
Commit message (Expand)AuthorAgeFilesLines
...
* Rework message handling.•••- Move all message-related types to their own header to make moving them to a cross-module events easier. - Rename OnUserMessage to OnUserPostMessage. - Rename OnText to OnUserMessage. - Replace the dest, target_type, and status parameters with the MessageTarget class. - Replace the text, exempt_list, and msgtype parameters with the MessageDetails struct. - Add echooriginal and originaltext to the MessageDetails struct to allow spam filtering to not be broken by cap echo-message. Gravatar Peter Powell2018-01-061-7/+7
* Fix a ton of -Wsign-conversion warnings.Gravatar Peter Powell2017-11-171-1/+1
* Hide User#host and User#dhost and use accessors to modify them.•••This removes the need to invalidate the cache after changing a user's hostname. Gravatar Peter Powell2017-10-281-2/+2
* Add support for length arguments in getString.Gravatar Peter Powell2017-09-031-2/+1
* Remove <alias:matchcase> and associated code.•••This was never documented and seems pretty useless. Gravatar Peter Powell2017-08-131-14/+2
* Add CXX11_OVERRIDE to overridden members that lack it.•••This fixes a ton of warnings when building on compilers that default to C++11 or newer. Gravatar Peter Powell2017-07-121-1/+1
* Rework the example services aliases.•••- Split common stuff into a generic configuration file. - Reserve all nicknames used by services by default. - Exempt all services clients from filtering. - Add missing aliases for services pseudoclients. Gravatar Peter Powell2016-11-161-3/+8
* Convert WriteNumeric() calls to pass the parameters of the numeric as method ...Gravatar Attila Molnar2016-02-251-2/+2
* Fix some whitespace issuesGravatar Attila Molnar2015-12-281-1/+1
* Add support for channel alias prefixes with multiple characters.Gravatar Peter Powell2015-06-031-9/+9
* Convert mods calling the old compat wrapper of ModuleManager::SetPriority() t...Gravatar Attila Molnar2015-02-151-1/+1
* Reduce std::string::substr() usage•••substr() returns a new string while erase() and assign() modify the existing one Gravatar Attila Molnar2015-01-101-2/+2
* Change type of some associative containers to their flat versions, including ...Gravatar Attila Molnar2014-12-151-1/+1
* Change allocation of InspIRCd::Parser to be physically part of the object con...Gravatar Attila Molnar2014-06-131-1/+1
* Switch to std::string::compare() from substr() in a couple of placesGravatar Attila Molnar2014-05-261-5/+5
* m_alias Remove duplicate checksGravatar Attila Molnar2014-01-271-7/+3
* m_alias Use equal_range() when searching for aliasesGravatar Attila Molnar2014-01-271-19/+6
* Merge insp20Gravatar Attila Molnar2014-01-211-2/+2
|\
| * m_alias Fix out of bounds string access that happened with certain replace st...Gravatar Attila Molnar2014-01-191-2/+2
* | Stop null checking pointers that are always validGravatar Attila Molnar2014-01-091-1/+1
* | Introduce Server class•••- Replaces std::string server in User - Replaces InspIRCd::ULine() and SilentULine() Gravatar Attila Molnar2014-01-051-1/+1
* | Add functor that does strict weak ordering based on national_case_insensitive...Gravatar Attila Molnar2014-01-041-16/+16
* | Use WriteNumeric() everywhere we send numerics and include the user's nick au...Gravatar Adam2013-11-121-2/+2
* | Replace OnRehash() with ReadConfig() that is called on boot, on module load a...•••This eliminates the need for calling OnRehash() in init() Gravatar attilamolnar2013-08-301-12/+2
* | Automatically attach modules to eventsGravatar attilamolnar2013-08-041-2/+0
* | Replace hardcoded mode letters, part 3•••This changes most remaining User::IsModeSet() calls to use ModeReferences for modes that were created by other modules or the core Gravatar attilamolnar2013-07-191-1/+7
* | Remove $Core and $Mod* comments apart from $ModDep.Gravatar Peter Powell2013-07-041-2/+0
* | Compare to ServerLimits::MaxLine instead of MAXBUF.Gravatar Peter Powell2013-06-061-1/+1
* | Reserve ServerLimits::MaxLine instead of MAXBUF.Gravatar Peter Powell2013-06-061-1/+1
* | Merge insp20Gravatar attilamolnar2013-06-061-1/+1
|\|
| * Remove unused variables, avoid copies where possible, check empty() instead o...•••Most of these were detected by cppcheck Gravatar attilamolnar2013-05-161-1/+1
* | Remove #define MAXPARAMETERS and "MAXPARA" 005 tokenGravatar attilamolnar2013-06-011-1/+1
* | Remove OnUserPreNotice and OnUserNotice hooks, add MessageType argument to On...•••All modules (except m_nonotice) that perform filtering on messages have common logic for handling PRIVMSGs and NOTICEs and most of them run the exact same code in both cases Gravatar attilamolnar2013-05-201-2/+2
* | Tidy up keywords on module methods.•••- 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. Gravatar Peter Powell2013-05-151-7/+7
* | Replace IS_AWAY() and IS_OPER() macros with User::IsAway() and User::IsOper()Gravatar attilamolnar2013-04-101-1/+1
* | Whitespace and empty destructor removal, minor coding style changesGravatar attilamolnar2013-04-011-8/+1
|/
* Dynamically determine the size of the eventlist[] passed to Attach()•••m_sqlauth was attached to I_OnUserDisconnect but didn't provide a handler for it, remove Gravatar attilamolnar2012-12-021-3/+2
* Attach to events and register services in init()Gravatar attilamolnar2012-12-021-1/+1
* Remove usage of the deprecated ConfigReaderGravatar attilamolnar2012-11-121-5/+3
* Remove superfluous std::string()sGravatar attilamolnar2012-10-121-2/+2
* Fix undefined behavior caused by referencing the returned buffer by std::stri...•••Thanks to @ChrisTX for pointing this out Fixes #257 reported by @helloall Gravatar attilamolnar2012-09-231-1/+2
* Replace copyright headers with headers granting specific authors copyrightGravatar Robby-2012-04-191-8/+17
* Fix incorrect default on <alias:channelcommand>Gravatar Daniel De Graaf2010-07-301-2/+2
* PreCommand/PostCommand are local-only hooks•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12291 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-01-181-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
* Use ConfigTagList as a faster access method for access to configuration•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11948 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-211-4/+3
* Rewrite m_alias DoCommand to do variable substitution in one pass, fixing bug...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11910 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-181-44/+45
* Fix infinite loop on alias expansion, found by Adam•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11908 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-181-4/+5
* More classbase cleanup, hold ConfigTag reference in Autoconnect/Link•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11906 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-181-24/+24
* Make classbase and refcountbase uncopyable; expand comments on their indended...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11888 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-171-1/+1