summaryrefslogtreecommitdiff
path: root/src/modes.cpp
AgeCommit message (Collapse)Author
2012-01-02Updated Copyright to 2012Adam
2011-09-25Added a new database format and sqlite support. Also moved db-convert to a ↵Adam
module.
2011-09-19Fixed /os reload doing weird things to service channels, and allow setting ↵Adam
modes by clients on burst
2011-09-10Moved signal/thread/mode checking to use signal pipesAdam
2011-09-10Track what "level" channel status modes are, which allows us to have ↵Adam
chanserv/mode determine if a status mode can be set by users better
2011-07-14Rewrote how commands are handled within Anope.Adam
This allows naming commands and having spaces within command names.
2011-05-16Moved the core pseudo clients out into their own modulesAdam
2011-03-07Added support for extbansAdam
2011-03-06Change the mode name code to use Flags names in preparation for extban supportAdam
2011-02-25Fixed a lot of small problemsAdam
2011-01-28Added patricia_tree::iteratorAdam
2011-01-19Added options:nomlockAdam
2011-01-08Made the Flag class able to convert flags to strings and backAdam
2011-01-05update copyrights for 2011lethality
2010-12-12Cleaned up some things, made the protocol modules use some basic inheritance ↵Adam
to cut back on their code duplication. More work can be done in the future to remove even more of it.
2010-12-12Allow the patricia tree to store non-pointersAdam
2010-12-12Added cs_mode, rewrote the old list mode code, and added CIDR supportAdam
2010-12-12Removed and deprecated /cs set mlock, removed /cs clear, removed /os ↵Adam
clearmodes, removed /cs akick (un)stick, added /cs clearusers
2010-12-12Switched the system for storing users, channels, and sesions to a patriciaAdam
tree from STL's unordered_map, which was giving horrible performance.
2010-11-14Delete users and channels from the modestacker when they are destructedAdam
2010-11-04Made Base not virtual, prevents us from having to dynamic cast in the mode ↵Adam
stacker on release builds
2010-10-30Made gettext work on most OSs. Tested on Debian, FreeBSD, Gentoo, and Windows.Adam
Added a search path option to the Config script for cmake to use when finding libraries for modules or for gettext. Fixed m_mysql and m_ssl to work under Windows, made the Windows Config program remember the last used options, and fixed Windows release builds.
2010-10-02Set the botmodes on bots in the log channel(s) when using ircds that have ↵Adam
dynamic modes
2010-09-16Fixed many bugs and crashesAdam
2010-08-28Properly store our clients internal channel status's and burst them if needed.Adam
Also made Flag::HasFlag use test() instead of operator[] to catch errors, and fixed an out of bounds access to a Flags bitset causing crashes on some systems.
2010-08-27Added a new logging systemAdam
2010-08-22Added a classbase for the major classes, makes dynamic_reference ↵Adam
invalidation really work. This also cleans up a bit of the code in the modestacker.
2010-08-21Made Anope keep track of channels its clients are in if it splits from its ↵Adam
uplink, then burst them back to its uplink once connection is reestablished. Also made Anope use TS enforcement to change persistant channels creation time to the time they were registered.
2010-08-17Rewrote the config reader to better handle invalid configs.Adam
This prevents Anope from exploding when /os reload has errors.
2010-07-30Some more slight cleanups, this time in modes.cpp and module.cpp.Naram Qashat
2010-07-29Added support for tracking inspircd2.0 usermode +Q and cahnged the Flags ↵Adam
bitsets for modes to not use a max defined value, it can go over
2010-07-27Added debug_cast which uses dynamic_cast on debug builds, and static_cast on ↵Adam
release builds
2010-07-26Trying to make things a little more const-safe, a work in progress but this ↵Naram Qashat
is a bit better.
2010-07-25Epic commit to replace most of the strings in Anope with a single ↵Naram Qashat
Anope::string class, plus some other little fixes here and there. If you follow 1.9.x development and are testing things, THIS is one of those things that NEEDS testing.
2010-06-27Made Anope track its own clients internally as if they were real usersAdam
2010-06-26Made the flags class take an optional size argAdam
2010-06-26Added support for InspIRCd 2.0s dynamic modes.Adam
Note that this changes the maximum length of an acceptable IRC message from 512 to 1024 because InspIRCd sends messages longer than 512 characters.
2010-06-20The first of a few "CBX OCDing over code style" commits, focusing on ↵Naram Qashat
include/* and src/* but not src/core/* or src/modules/*.
2010-06-18Store modes in users and channels using the Flags class, cleanerAdam
2010-06-18Store a plaintext version of mode names in the mode structures, removes alot ↵Adam
of unneeded code from db_plain/db_mysql.
2010-06-18Removed all references to $, git has no svn keywordsAdam
2010-06-18Fixed some problems with the mode stacker from svn to git mergeAdam
2010-06-18Merge svn with gitCharles
2010-06-16Minor edits to fix compile errors/warnings with clang and a small compile ↵cyberbotx
warning under Windows (gotta work on the other 450+ Windows warnings sometime). git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@3006 5417fbe8-f217-4b02-8779-1006273d7864
2010-06-16Replaced some spaces with tabs in unreal32.c, os_defcon.c, and modes.cppAdam
2010-04-09Fixed tracking of InspIRCd mode +J and fixed mode manager and stacker to ↵Adam-
handle parameter modes correctly git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2879 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-09Removed the OnFind events, they are not necessary anymore and just waste CPUAdam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2872 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-09Made the mode stacker never send a mode change for something that is already ↵Adam-
(un)set, and set -r when dropping channels git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2868 5417fbe8-f217-4b02-8779-1006273d7864
2010-02-12Added generic support for unknown modes told to Anope at runtime by the IRCdAdam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2790 5417fbe8-f217-4b02-8779-1006273d7864
2010-02-10Changed up a small part of the mode API for preparation for dynamic mode ↵Adam-
support at runtime git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2789 5417fbe8-f217-4b02-8779-1006273d7864