summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2009-12-13Don't allow mlocking/defconing modes such as beIohvAdam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2698 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-13Moved hostserv/set priv to commands, only check for HasCommand() when trying ↵Adam-
to execute commands and not HasPriv(), as Privs should never be necessary to execute any command git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2697 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-13Added in a modestacker and rewrote almost all of the remaining old mode codeAdam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2696 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-11do not show the NICK_INFO_FOR_MORE message when the user has no permission ↵DukePyrolator
to do it git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2695 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-08Only show the user as online in /nickserv info if they are identified for ↵Adam-
the group of that nick git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2693 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-07added a function to convert some mlock modesDukePyrolator
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2692 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-05Added options:mlock in the config so you can set what modes should be locked ↵Adam-
on new channels git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2690 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-05Got rid of some now unnecessary code in config.c and moved ↵Adam-
Config.Opers.clear() to InitOpers where it belongs git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2689 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-05Added ns_resetpass which can be used to reset user passwords by email, very ↵Adam-
useful if you're using encryption git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2685 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-04Fixed crash when using smartjoin and assigning a bot to an +i channel, ↵Adam-
reported by Platzii git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2684 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-04some code cleanupDukePyrolator
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2682 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-29the database converter can now convert the operserv databaseDukePyrolator
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2678 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-29the database converter can now handle a broken bot.db from 1.9.0DukePyrolator
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2677 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-29fixed some bugs in the database converterDukePyrolator
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2676 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-29updated database converterDukePyrolator
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2675 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-27Set all of the default channel flags on new channels. Thix fixes persistant ↵Adam-
not being set on newly registered channels git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2673 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-25Foward port of part of r2668Adam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2669 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-24fixed a crash when a user connects without a vhostDukePyrolator
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2666 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-24Properly remove users on access lists that are below voice status when ↵Adam-
converting to XOP git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2664 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-24Remove the permanent channel mode from channels that are dropped/expired/etcAdam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2663 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-24Marked +l and +L on InspIRCd 1.2 as minus no argAdam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2662 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-18Make the correct folder be chmod'd on a *nix install of the tools directory ↵cyberbotx
(we got rid of installing the tools to a tools directory a long while back, now they go in the bin directory instead) git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2658 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-18Delete the correct entries from akick and badwords list when given a numlistAdam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2657 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-17Removed some unnecessary casts, used C++-style casts over C-style casts, ↵cyberbotx
fixed a few warnings (one possibly fatal one). git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2655 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-17Cleand up alot of the code in bs_badwords, made it much more C++-ishAdam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2654 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-16Made the 'Module compiled against current version of Anope' message debug onlyAdam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2652 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-14Fixed potential segfault when deleting users from the access list by number, ↵Adam-
reported by Cronus git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2650 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-13Made /nickserv group work properly with the new account systemAdam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2647 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-12Fix bug introduced in r2574 that would set passwords incorrectly when using ↵Adam-
enc_none git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2646 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-12Fix default OnSyntaxError subcommand to be the last param if its size is ↵Adam-
less than the minimum required for the command git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2645 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-11Replaced all of the char* params in cs_set with ci::string so we dont use ↵Adam-
stricmp all over, and updated coding style git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2642 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-11Made disabling chanserv levels *really* disable them so noone can use them ↵Adam-
(even founder), and have the ability to set it to 10000 for founders. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2641 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-11Made DefCon not use a ChannelInfo structure for saving its modes & params, ↵Adam-
it was ugly git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2640 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-11Moved alot of stuff to constructors and destructors, instead of having ↵Adam-
functions everywhere to create and destroy objects git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2639 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-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-08Fixed /chanserv help forbid to allow you to forbid unregistered channelsAdam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2634 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-08Make CMake ignore the CMakeFiles directory, really only applies to Win32 ↵cyberbotx
build since it still allows in-source builds (unlike the *nix build). git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2631 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-07Made mlock_on, mlock_off, access, and akick private in ChannelInfoAdam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2630 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-07Rewrote all of the akick code to be much cleanerAdam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2613 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-06Added src/regchannel.cpp and moved the code from include/regchannel.h thereAdam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2612 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-06Added /chanserv access view, which shows the access creator and last time usedAdam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2611 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-05Dont allow sending empty mode strings in check_modesAdam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2610 5417fbe8-f217-4b02-8779-1006273d7864