summaryrefslogtreecommitdiff
path: root/src/bots.cpp
AgeCommit message (Collapse)Author
2009-08-19Add a few items to outstanding issues in TODO, clean up a lot of warnings ↵cyberbotx
(not all, some require more widespread changes than this), and fix a few potential bugs. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2457 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-08Actually, make use of it now. Pseudoclients are introduced automatically if ↵rburchell
synched with uplink. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2442 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-04Fixed two typos in bots.cpp that could cause crashesadam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2405 5417fbe8-f217-4b02-8779-1006273d7864
2009-07-16Initialize botinfo->flags on bot creation to fix some database problemsadam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2381 5417fbe8-f217-4b02-8779-1006273d7864
2009-06-03Fix bug #1080, changing core pseudo-client nicks in the config should ↵cyberbotx
register the change when the bots are brought back online, patch from Adam. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2310 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-18Move assign and unassign to new events, allow for halting too should modules ↵rburchell
desire that. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2107 5417fbe8-f217-4b02-8779-1006273d7864
2009-01-03Housekeeping contact address updates.sjaz
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1914 5417fbe8-f217-4b02-8779-1006273d7864
2009-01-02Update copyrights for 2009.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1909 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-30Modified BotInfo to store a pointer to a command hash table (this is so ↵cyberbotx
modules like ss_main can store their own commands but still have them called by the core). Updated the current sample of ss_main to utilize BotInfo instead of Service (which might be removed) as well as accept a HELP command. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1819 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-22Replaced most uses of smalloc and scalloc with new, replaced most uses of ↵cyberbotx
free with delete. NOTE: This build is unstable due to lack of memory zeroing, this will be addresses in a future commit. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1783 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-14Insane commit of doom: s/ \t/grburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1681 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02Start making some stuff compile with the modified protocol signaturesRobin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1369 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02Replaced anope_SendPart() with direct call to SendPart() in IRCDProto class.Naram Qashat cyberbotx@cyberbotx.com
Added SendPartInternal() function to IRCDProto class, now SendPart() is a stub to handle varargs. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1346 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02Convert various to new name scheme.Robin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1306 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-01Nuke struct Uid from the core. (hooray!)Robin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1296 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30Merge delbot() and cs_remove_bot() into BotInfo's destructor.Robin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1281 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30Store UID for services pseudoclients inside BotInfo. This will be used ↵Robin Burchell w00t@inspircd.org
instead of struct Uid in the future. Remove seperate introduction of Service, make a BotInfo for all of them. XXX: no idea at all if this will work. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1270 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30Unbreak bot assigning, also call event in the unassign function, rather than ↵Robin Burchell w00t@inspircd.org
elsewherel. This will be needed for third party module devs. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1235 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30Move some stuff to BotInfo methods.Robin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1232 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30Move stuff to a bots class.Robin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1224 5417fbe8-f217-4b02-8779-1006273d7864