summaryrefslogtreecommitdiff
path: root/src/modules/m_abbreviation.cpp
AgeCommit message (Collapse)Author
2020-01-11Update copyright headers.InspIRCd Robot
2019-04-28Textual improvements and fixes such as typos, casing, etc. (#1612)Robby
2018-08-10Remove the original line parameter of On{Pre,Post}Command.Peter Powell
In the brave new world of message tags and alternate wire formats this is no longer something that is appropriate to expose. In reality it was only ever used by m_alias which now reconstitutes the command name and parameters into a RFC 1459-style message for whatever it needs to do.
2018-07-26Use CommandBase::Params instead of std::vector<std::string>.Peter Powell
This is presently a typedef but will soon be replaced with a class that encapsulates both tags and parameters.
2018-02-02Add names for a bunch of numerics.Peter Powell
2017-07-12Add CXX11_OVERRIDE to overridden members that lack it.Peter Powell
This fixes a ton of warnings when building on compilers that default to C++11 or newer.
2016-02-25Convert WriteNumeric() calls to pass the parameters of the numeric as method ↵Attila Molnar
parameters
2015-04-20Merge insp20Attila Molnar
2015-01-21m_abbreviation Fix typo in numeric textAttila Molnar
2014-06-13Change allocation of InspIRCd::Parser to be physically part of the object ↵Attila Molnar
containing it
2014-06-13Add CommandParser::GetCommands() and typedef CommandMap and use it instead ↵Attila Molnar
of directly accessing cmdlist
2014-05-26Switch to std::string::compare() from substr() in a couple of placesAttila Molnar
2013-11-12Use WriteNumeric() everywhere we send numerics and include the user's nick ↵Adam
automatically
2013-08-04Automatically attach modules to eventsattilamolnar
2013-07-04Remove $Core and $Mod* comments apart from $ModDep.Peter Powell
2013-05-15Tidy up keywords on module methods.Peter Powell
- 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.
2012-04-19Replace copyright headers with headers granting specific authors copyrightRobby-
2010-03-22A few minor fixupsdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12655 e03df62e-2008-0410-955e-edbf42e46eb7
2010-01-18PreCommand/PostCommand are local-only hooksdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12291 e03df62e-2008-0410-955e-edbf42e46eb7
2010-01-11...because every now and again, i have to do a massive commit.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12248 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-17Remove dummy API_VERSION from Version constructordanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11887 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-26Remove InspIRCd* parameters and fieldsdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11763 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-22Describe module purpose in /MODULES outputdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11757 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02ModResult conversion: Change return type of all module functionsdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11634 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-15Update all wiki links to point to the new wiki. This was done automatically ↵psychon
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
2009-02-16Remove redundant PriorityState, enum Priority does the exact same thing.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11121 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-02Update copyrights for 2009.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10932 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-25Change module versions to use a string instead of fixed digits, and use ↵w00t
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
2008-06-11fixed some indentation and spacing in modulespippijn
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9888 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-06Abort on matchlist.length() > 450brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9850 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-06Whoops eat command not allow itbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9849 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-06If we have > 10 matches to a command, abort and dont try and show the list. ↵brain
This stops "/." listing a massive amount of commands too long to show, and keeps things within common sense. :P git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9848 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-06On ambiguous abbreviation, list all possibilities and eat the command ↵brain
(numeric 420, unused and as close as i could get it to numeric 421, unknown command) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9847 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-06Remove excessive debugbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9846 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-06m_abbreviation completed. :)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9845 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-06Update a header i left outbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9842 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-06Allow changing of command string and parameter vector within OnPreCommand, ↵brain
allowing for m_abbreviation and other fancy stuff. Add basic skeleton module for it git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9840 e03df62e-2008-0410-955e-edbf42e46eb7