summaryrefslogtreecommitdiff
path: root/src/modules/hs_request.c
AgeCommit message (Collapse)Author
2010-06-18Renamed all of source files from .c to .cppAdam
2010-06-18Rewrote the hashing system to use std::tr1::unordered_mapAdam
2010-06-18Added nickserv/auspex permission and fixed core modules so they buildAdam
2010-06-18Made all modules version be VERSION_STRINGAdam
2010-03-21Made usermax and hostmax configurableAdam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2829 5417fbe8-f217-4b02-8779-1006273d7864
2010-03-13Foward port of r2809Adam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2812 5417fbe8-f217-4b02-8779-1006273d7864
2010-02-04We now store a list of users using a NickCore in the NickCore, this prevents ↵Adam-
having to loop every user all the time to find them git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2780 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-11updated copyright info for 2010pimpmylinux
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2753 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-09fixed a crashbug in os_ignore on db saving and cleaned up the db code in ↵DukePyrolator
hs_request git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2739 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-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-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-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-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-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-23Couple of typos in hs_request. Thanks Fudge.sjaz
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2579 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-20Apply some changes based on possible "flaws" found with flawfinder.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2574 5417fbe8-f217-4b02-8779-1006273d7864
2009-09-20Removed the file name arg from MODULE_INITAdam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2510 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-08-21Partial revert of r2449, my_memo_lang shouldn't have a char * parameter, ↵cyberbotx
const char * works just fine. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2459 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-19Fixed a crash when using commands if HostServ is disabledadam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2453 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-12fixed a crashbug on /hostserv activateDukePyrolator
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2449 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
2009-06-11Make stristr() const-safe, replace post-increment on iterators with ↵cyberbotx
pre-increment, remove now unused variables, made my_memo_lang() in hs_request.c const-safe. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2320 5417fbe8-f217-4b02-8779-1006273d7864
2009-06-11Cleanup of internals of new opertype stuff by Adam. Removes OS OPER and OS ↵rburchell
ADMIN, changes OS STAFF to be more helpful in their place. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2319 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-06Replace Set*Help() functions with virtual *ServHelp() functions that can be ↵cyberbotx
overriden in a module's Module class. Patch from Adam. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2266 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-04Removed is_host_setter() and is_host_remover() from code and replaced them ↵cyberbotx
with opertype priv "hostserv/set", removed <hostserv:hostsetters> from configuration. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2260 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-03Added service argument to OnPreCommand, added OnPostCommand event, changed ↵cyberbotx
the following modules to use On[Pre|Post]Command instead of hooking into existing commands: hs_request, ns_maxemail, and os_info. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2242 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-29#1058 Patch to fix HS REQUEST memo to include ident. Thanks Adam.sjaz
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2215 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-19Move last of events that are in the core distro over to newevents.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2115 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-18Move EVENT_DB_SAVING to newevent.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2108 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-15Remove User::na, use User::nc everywhere. Will probably break everything, ↵rburchell
but opens the door to decoupling NC from NA, and means commands can now be run without bothering about changinc nick :) More tweaking for na/nc usage. It compiles, but it's still a work in progress. Again, this compiles, but I *bet* there's no chance in hell it'll work. :) Slightly better. Set User::nc correctly. Fix crash with unregistered nicks in core and ns_access. Fix glist to work when you're not on that particular nick. Fix ns_set to not crash and burn horribly. Fix ns_set and ns_logout to not do bad things. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2076 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-15Audited all src/modules/* and deleted bs_fantasy_unban (it was obsoleted).cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2051 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-11Fixed compile errors within src/modules/*.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2001 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-10Fix modules to use the right type (CommandReturn, not CommandResult)rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1977 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-09Squashed commit: merge next (1.9.1) back to trunk.rburchell
SVN users, NOTE: THIS WILL NOT BUILD, NOR SHOULD YOU RUN IT YET. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1953 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-28Forward-port of r1754: changed error message to be more descriptive...cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1813 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-28Remove (void) args, these just make things ugly.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1811 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-28Removed mod_current_module_name, so far no ill-effects...cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1808 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-28Moved moduleSet*Help() functions to Module::Set*Help().cyberbotx
Also corrected a few issues with tabs in the help lines for non-core modules caused from the space->tab conversion a while back. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1804 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-28Moved moduleNoticeLang() to Module::NoticeLang().cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1803 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-23Converted many C-style casts to C++-style casts.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1788 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