summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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
2009-11-05Removed trailing -'s on mode strings sent in check_modesAdam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2609 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-04Rewrote part of check_modes to keep it from sending empty mode stringsAdam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2608 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-04Made the -nothird optopn workAdam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2607 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-03Moved some of the news variables out of the news module so other modules etc ↵Adam-
can access them, if needed git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2604 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-02check for umode +r before sending svsmode -rDukePyrolator
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2603 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-30Made do_nick return the user if I_OnPreUserConnect halts it if the user ↵Adam-
still exists, and removed unused defcon language string git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2600 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-30Removed channel passwords and added /chanserv QOP command to add additional ↵Adam-
channel founders, aswell as access level 10000 git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2599 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-29Changed the "nickserv/confirm" opertype command to a permission, and added ↵Adam-
"nickserv/drop" permission used to drop other users nicks git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2595 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-28renaming to guestnick was not working properlyDukePyrolator
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2594 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-28Remove NickServ timers from TimerManager if we need to delete them, not just ↵Adam-
from NickServs timers - Fixes segfault reported by phantomal git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2593 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-27Cleaned up some of the code in my last commit and made it a bit more ↵Adam-
consistant.. probably should have done this before but owell git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2592 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-27Fix bug #1111, BS KICK should properly handle the CAPS, FLOOD, and REPEAT ↵cyberbotx
options now. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2591 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-27Rewrote part of chan_set_correct_modes and set Mode::ModeChar correctlyAdam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2590 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-25Added MinusNoArg to insp modes Ffj and unreal mode jAdam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2589 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-25Added internal tracking of InspIRCd1.2 channel modes BFfjMPT and user modes ↵Adam-
BcdGHIkQRSW, also added tracking of Unreal3.2s channel mode j git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2588 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-25Document /ns confirm nick in /ns help confirm for services operatorsAdam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2587 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 options:enablelogchannel config file option, which turns on the ↵Adam-
logchannel on startup. yay! git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2585 5417fbe8-f217-4b02-8779-1006273d7864