summaryrefslogtreecommitdiff
path: root/src/bots.cpp
AgeCommit message (Collapse)Author
2011-01-08Made the Flag class able to convert flags to strings and backAdam
2011-01-05update copyrights for 2011lethality
2010-12-29Automatically quit bots when they are deletedAdam
2010-12-25Forward port part of 821995bf604b5c6e18e6c0c93a31e149565160c8Adam
2010-12-17NULL the core *serv pointers when core clients are deletedAdam
2010-12-12Fixed looking up users to use case insensitivityAdam
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-12Switched the system for storing users, channels, and sesions to a patriciaAdam
tree from STL's unordered_map, which was giving horrible performance.
2010-10-11Fixed some warningsAdam
2010-10-02Set the botmodes on bots in the log channel(s) when using ircds that have ↵Adam
dynamic modes
2010-09-10Added Anope::CurTime to keep us from calling time() everywhereAdam
2010-09-10Fixed bug #1187 - Fixed releasing enforcer clients on TS6 IRCdsAdam
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-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-08-13Readded in BotInfo::chancount, it never should have been removed in the ↵Adam
first place
2010-08-01Mark our clients as protected, prevents users from using /cs kick etc to ↵Adam
kick services clients
2010-08-01Fixed some issues with reconnecting if we disconnect from the uplinkAdam
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-07-10Properly set up our clients as on our server internally. Fixes crashes when ↵Adam
trying to akick our own clients etc
2010-06-29Missed OCDing over src/protocol/*, plus fixed a minor lack of braces and ↵Naram Qashat
fixed Config to work in an out-of-source build.
2010-06-28No need for BotInfo to have its own ChangeNick functionAdam
2010-06-27Made Anope track its own clients internally as if they were real usersAdam
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-18Rewrote all of the command handling to get rid of all the nasty strtoks() ↵Adam
everywhere, and added a bot map by uid
2010-06-18Burned slist, rewrote operservs XLine codeAdam
2010-06-18Dont load mlock from the database until after Anope is connected, it doesnt ↵Adam
know all of the available modes until then
2010-06-18Rewrote the hashing system to use std::tr1::unordered_mapAdam
2010-06-18Added some global variables for the core pseudo clients, keeps us from ↵Adam
having to call findbot() everywhere
2010-06-18Rewrote all of the server handling codeAdam
2010-06-18Moved Commands stuff to its own file and changed Command::name to be ↵Adam
ci::string - Will be used after hashing system is rewritten
2010-06-18Removed all references to $, git has no svn keywordsAdam
2010-05-22Rewrote the nick colliding/releaseing/canceling system, fixes many many bugs ↵Adam-
on IRCds without svsnick and/or svshold git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2975 5417fbe8-f217-4b02-8779-1006273d7864
2010-02-25Removed OnBotPreLoad event, this is a much better way to prevent multiple of ↵Adam-
the same bots being loaded git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2796 5417fbe8-f217-4b02-8779-1006273d7864
2010-02-23Actually use the cmdTable pointer in bot structures, it now points to the ↵Adam-
bots command hash git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2794 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-31replaced the alog() command with a new type-safe and stream-based Alog()DukePyrolator
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2777 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-16Removed c_userlist and u_chanlist, replaced with std::listAdam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2764 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-11updated copyright info for 2010pimpmylinux
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2753 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-04Changed 'char *' fields in BotInfo to 'std::string', cleanup of bots.cpp, ↵cyberbotx
changed many other functions to use 'const std::string &' arguments as a chain reaction. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2733 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-04Removed NICKMAX and CHANMAX, replaced user->nick, c->name, and ci->name with ↵Adam-
std::string git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2732 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-16Made many of the functions in IRCDProto accept the relative object pointers ↵Adam-
instea of char* everywhere, and updated TODO git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2706 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-14Updated docs/IRCD to reflect recent changes in the ircdvar struct, and made ↵Adam-
botinfo constructors set created time not bs_bot, db loaders will change it later if needed git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2702 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-14Set the created time for BotServ bots correctlyAdam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2700 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-28Massive move of all of the Config variables out of global scope to the ↵Adam-
Config class git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2674 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-11Added support for permanent channels. This supports both permanent channel ↵Adam-
modes and the ability to have BotServ bots stay in the channel to keep it open. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2638 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-08Rewrote all of the old C style flag systems into a new Flag class which ↵Adam-
everything inherits from. This breaks reading and writing flags to the old databases (and probably many other things aswell) - Don't use it git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2636 5417fbe8-f217-4b02-8779-1006273d7864
2009-09-07Added the OnBotPreLoad event to fix introducing StatServAdam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2494 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-21Fixed bug #1095, do not resend client introduction when using /botserv bot ↵adam-
add and initialized chancount in BotInfo constructor git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2460 5417fbe8-f217-4b02-8779-1006273d7864