summaryrefslogtreecommitdiff
path: root/src/hostserv.c
AgeCommit message (Collapse)Author
2010-06-18Renamed all of source files from .c to .cppAdam
2010-06-18Burned slist, rewrote operservs XLine codeAdam
2010-06-18Fixed cmake build, removed version_flags it is no longer need, removed old ↵Adam
unneeded defs.h and split up pseudo.h
2010-06-18Rewrote the hashing system to use std::tr1::unordered_mapAdam
2010-06-18Removed all references to $, git has no svn keywordsAdam
2010-06-16Minor edits to fix compile errors/warnings with clang and a small compile ↵cyberbotx
warning under Windows (gotta work on the other 450+ Windows warnings sometime). git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@3006 5417fbe8-f217-4b02-8779-1006273d7864
2010-06-04Only enable vhosts automatically if the user doesn't already have the vhost setAdam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2998 5417fbe8-f217-4b02-8779-1006273d7864
2010-03-20fixed sending CHGIDENT without parameterDukePyrolator
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2825 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-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-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-14Ripped out old databasesAdam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2699 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-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-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-08-22added more eventsDukePyrolator
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2461 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-01Fixed some memory leaks when setting vhosts on usersadam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2399 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-04Fix access checking in corerburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2256 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-10Fix compile errors in hs_* modules, as well as add some const-safeness to ↵cyberbotx
HostServ functions. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1980 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-24Fix crash when loading HostServ database with a null vIdent, found by Ankit.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1934 5417fbe8-f217-4b02-8779-1006273d7864
2009-01-24Trap empty idents from older Anope mysql UseRDB imports, and don't allow ↵rburchell
them to be set. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1933 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-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-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
2008-11-18Remove an insane amount of backwards compatibility from database loading, ↵rburchell
this means that only latest DB versions will load, others will print an error. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1750 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-14Insane commit of doom: s/ \t/grburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1681 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-14Various small fixes, part #2.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1670 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-09Move modules_core_init() to ModuleManager::LoadModuleList().Robin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1612 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-03Merge commit 'trunk' into anopeng (1.8 updates, etc)Robin Burchell w00t@inspircd.org
Conflicts: src/main.c src/mysql.c version.log git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1504 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-02Rip out SQL. It's utterly useless in current implementation.Robin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1502 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-03Merge commit 'cbx/anopeng-charfix' into anopengRobin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1408 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-03Merge commit 'cbx/anopeng-uid' into anopeng-uidRobin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1395 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02Replaced anope_SendVhost() with direct call to SendVhost() in IRCDProto class.Naram Qashat cyberbotx@cyberbotx.com
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1354 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02Replaced anope_SendGlobops() with direct call to SendGlobops() in IRCDProto ↵Naram Qashat cyberbotx@cyberbotx.com
class. Added SendGlobopsInternal() function to IRCDProto class, now SendGlobops() is a stub to handle varargs. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1347 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02SVSJOIN, SVSPART, CTCP, svid_umode*, unregistered nickchange func renamesRobin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1312 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02Various conversions to use new protocol.Robin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1307 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02Convert various to new name scheme.Robin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1306 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30Remove 'skeleton' mode. It's not really all that useful.Robin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1200 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30Fix more g++.Robin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1174 5417fbe8-f217-4b02-8779-1006273d7864
2008-02-12BUILD : 1.7.21 (1385) BUGS : 862 NOTES : rdb_close() where rdb_open() is ↵drstein drstein@31f1291d-b8d6-0310-a050-a5561fc1590b
used in rdb_dbase() functions. git-svn-id: svn://svn.anope.org/anope/trunk@1385 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1100 5417fbe8-f217-4b02-8779-1006273d7864
2008-01-13BUILD : 1.7.21 (1345) BUGS : NOTES : Updated copyright information geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: svn://svn.anope.org/anope/trunk@1345 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1060 5417fbe8-f217-4b02-8779-1006273d7864
2007-08-26BUILD : 1.7.19 (1265) BUGS : NOTES : Updated copyright information geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: svn://svn.anope.org/anope/trunk@1265 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@983 5417fbe8-f217-4b02-8779-1006273d7864
2006-12-24BUILD : 1.7.17 (1210) BUGS : 645 646 647 NOTES : Fixed anoperc restart, ↵geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
nickchanges on TS6, typo in CHAN_REGISTER_NONE_CHANNEL; added error messages when RDB functions fail (thx heinz) git-svn-id: svn://svn.anope.org/anope/trunk@1210 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@929 5417fbe8-f217-4b02-8779-1006273d7864
2006-12-09BUILD : 1.7.17 (1198) BUGS : NOTES : Reviewed and updated all of the MySQL ↵geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
code... git-svn-id: svn://svn.anope.org/anope/trunk@1198 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@917 5417fbe8-f217-4b02-8779-1006273d7864