summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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-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
2010-01-03Fixed base64 functions to be const safe until I can convert them to use ↵cyberbotx
std::string instead, also a little cleanup while I was in there. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2729 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-03Fixed db-convert to really convert vhostsAdam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2728 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-02Fixed bug #1121 - Fixes a potential crash when a user changes hostsAdam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2725 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
2010-01-02Convert 'const char *' and 'char *' function arguments to 'const std::string ↵cyberbotx
&' instead, done in actions.c along with chain reactions in other files. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2723 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-30Fixed not being able to restart if anope was started from outside of the ↵Adam-
directory it is in git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2721 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-30Added in support for permanet channel modes on non-registered channelsAdam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2720 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-12-25Send only the newly formatted users string to do_sjoin when using ↵Adam-
inspircd12, not the old one and the new one, as this implies the old users are parameters for modes, which makes mode manager unhappy git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2717 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-23Replaced some static_casts related to modes with dynamic_cast - its a bit saferAdam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2715 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-22Fixed bug #1119 - Fixed a few help replies to respect the nickserv msg ↵Adam-
option when sending blank lines git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2714 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-21Change OperType's name to be ci::string instead of std::string, should ↵cyberbotx
hopefully make it so it doesn't matter what case is used in the oper blocks compared to the opertype blocks. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2713 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-20Rewrote part of extensible, it will now automatically unallocate memory for ↵Adam-
us so we don't have to manually delete it everywhere anymore git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2711 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-17Added BotInfo* sender arg to all of the User mode functions, changed ↵Adam-
IRcdProto::SendMode for channels to accept a Channel pointer and fixed unsetting users vhosts on Unreal git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2710 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-16Moved /chanserv unban to its own module and added support for unbanning a ↵Adam-
nickname, this readds !unban nick git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2709 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-16Hopefully this fixes detecting if Unreal sends a TS at the end of the mode ↵Adam-
string and removing it, which keeps it from being passed to mode handler git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2708 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-15Added !K trigger to kick people and updated Changesrobbeh
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2705 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-15Added a KB alias to ban to allow the !kb fantasy triggerrobbeh
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2704 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-14More work on db-convert, almost done. This also moves the bot section of the ↵Adam-
db above the chan section, so we can check if channel bot names are valid git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2703 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-14Did some more work on db-convertAdam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2701 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-12-14Ripped out old databasesAdam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2699 5417fbe8-f217-4b02-8779-1006273d7864
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