summaryrefslogtreecommitdiff
path: root/include/modules.h
AgeCommit message (Collapse)Author
2010-05-23Fixed bug #1165, fixed soem missing tables in /os sqlsync. Also added ↵Adam-
support for saving cs_levels git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2979 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-10Made db_plain backup its databasesAdam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2882 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-09added a new event OnFinishSync, that allows modules to send additional data ↵dukepyrolator
to the IRCd before we send the EOB git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2871 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-08Rewrote sockets. This adds support for IPv6 and makes Anope capable of ↵Adam-
reconnecting if it loses connection to the uplink. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2862 5417fbe8-f217-4b02-8779-1006273d7864
2010-03-31Fixed cs_xop to not add its commands until after it knows what modes as ↵Adam-
supported by the IRCd git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2849 5417fbe8-f217-4b02-8779-1006273d7864
2010-03-31Added akicks into SQLAdam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2848 5417fbe8-f217-4b02-8779-1006273d7864
2010-03-28Finish rest of BotServ SQL stuffAdam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2839 5417fbe8-f217-4b02-8779-1006273d7864
2010-03-20Added in support for OperServ and MemoServ into SQLAdam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2822 5417fbe8-f217-4b02-8779-1006273d7864
2010-02-28Added in support for live updating MySQL databases and the ability to ↵Adam-
execute commands to Anope through MySQL. Currently database support only applies to NickServ, ChanServ and BotServ but will be expanded soon. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2798 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-25Rewrote part of the Timer and CallBack code for modules to be saneAdam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2795 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-14Added param arg to ChannelModeSet/Unset events, and fixed it to not ignore ↵Adam-
status and list modes git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2758 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-14Burned do_sjoin and rewrote it to be sane. This changes how Anope handles ↵Adam-
new channel creations drasitcally as we now truely track it all instead of hack around it by not initially tracking user joins to new channels git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2755 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-10Rewrote the code that handles and sends kicksAdam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2746 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-09changed all password fields to std::string and reworked the way how the enc ↵DukePyrolator
modules handle the passwords git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2740 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-06Fixed windows build and cleaned up a few small thingsAdam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2736 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-02Rewrote the vhost code, and moved it to be part of nickalias instead of in ↵Adam-
its own list. This also fixes being able to steal other users vhosts with /hs on git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2724 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-31Added in new plaintext databases. Note: This currently has no automatic ↵Adam-
backup feature. Big thanks to Phil on this for mass scale testing git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2722 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-29Chnaged ChannelModeSet/Unset events to be able to block checks such as ↵Adam-
secureops and mlock, and made it so you can't set a mode already set or unset a mode already unset so the modestacker doesn't send modes it doesn't need to git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2719 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-19Changed the mode param handling code to be more into the general mode ↵Adam-
handling code, this cleans up and fixes some small problems with mlocking params. This also helps clarify that the ChannelInfo mode functions are for mlock only. Also, this adds the OnMLock and OnUnMLock events which can be used to control if something can be (un)mlocked git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2660 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-18Remove some CoreExports and add them in other places, fixed a few minor ↵cyberbotx
warnings under Windows build, made Windows build create a static library out of win32_memory.cpp and use that with everything instead of relying on it being compiled into everything (saves compiling time). git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2656 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-12Made Command::Execute's params constAdam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2644 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-11Made Command::OnSyntaxError accept a subcommand parameter, we now give ↵Adam-
syntax error messages for subcommands (eg, cs_set) instead of giving the general syntax error for the main command git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2643 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-08Made the Module::ServHelp() functions part of the event systemAdam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2637 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-11-08Rewrote BuildStringList to use std::list instead of char**Adam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2632 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-03Added OnPreNickExpire and OnPreChanExpire events, which can keep nicks and ↵Adam-
channels from expiring git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2605 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-02added a way to load multiple encryption modules at the same and to switch ↵DukePyrolator
between encryption methods git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2602 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-30Rewrote all of the defcon code, and moved most of it to os_defcon. This ↵Adam-
fixes defcon to have the ability to use modes introduced to Anope at a later time than on startup (eg, from the IRCd), amongst other things git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2597 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-30Added I_OnPreUserConnect, I_OnUserModeAdd, and I_OnUserModeAdd eventsAdam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2596 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-25Fixed passing invalid channel pointer to OnPartChannel if the last user in a ↵Adam-
channel parted, now we use NULL and just give it the channel name git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2586 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-25Added 4 new events for (un)setting modes on channels and usersAdam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2583 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-18Fix a few things that bugged me when I was working on one of my own modules.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2573 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-17Renamed OnServerConnect(Server*) event to OnNewServer, we have two ↵Adam-
OnServerConnect's which is slightly confusing... git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2566 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-13Complete rewrite of everything associated with modes, this breaks saving and ↵Adam-
reading mlocked modes from the databases until the new databases are implemented git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2560 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-12Changed /ns confirm to not assume the user you are confirming owns the nick ↵Adam-
(have it ask the user for the password now), added nickserv/confirm opertype command value, and changed OnNickRegister event param to be NickAlias* not User* git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2554 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-11Added OnPostDatabaseLoad event, which triggers after the cores databases ↵Adam-
have been loaded AND immediatly after a module is loaded *if* the core has already been loaded git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2552 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-07added a new event OnUserQuit, changed OnPartChannel and OnUserKicked to send ↵DukePyrolator
the part/kick message and fixed OnUserNickChange git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2539 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-06Destroyed Command::help_param* and rewrote the help part of os_news to be ↵Adam-
much better git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2538 5417fbe8-f217-4b02-8779-1006273d7864
2009-09-27Removed old mod_version system for detecting module versions and replaced ↵Adam-
with the Module::GetVersion() function git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2521 5417fbe8-f217-4b02-8779-1006273d7864
2009-09-15Removed command position from Module::AddCommand(), it is no longer used ↵Adam-
because of OnPreCommand/OnPostCommand git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2505 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-22added more eventsDukePyrolator
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2461 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-20Fix build under Windows.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2458 5417fbe8-f217-4b02-8779-1006273d7864
2009-07-25Changed params parameter of Command's Execute() from ↵cyberbotx
std::vector<std::string> to std::vector<ci::string>, seems to have no ill effects but may require some testing to be sure. Also a few minor cleanups here and there. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2392 5417fbe8-f217-4b02-8779-1006273d7864
2009-07-24Changed subcommand parameter of Command's OnHelp() from std::string to ↵cyberbotx
ci::string, allows sub-help (like NS SET PASSWORD) to be called without requiring the subcommand to be sent by the user in all caps. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2391 5417fbe8-f217-4b02-8779-1006273d7864