summaryrefslogtreecommitdiff
path: root/src/servers.c
AgeCommit message (Collapse)Author
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
2009-10-17Renamed OnServerConnect(Server*) event to OnNewServer, we have two ↵Adam-
OnServerConnect's which is slightly confusing... git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2566 5417fbe8-f217-4b02-8779-1006273d7864
2009-09-30Removed NS_IDENTIFIED/NS_RECOGNIZED/NS_ON_ACCESS from na->status, it doesnt ↵Adam-
belong there anymore and doesnt work. Replaced nick_recognized() with User::IsRecognized() which returns if youre recognized for the nick you are on, not necessarially the account youre logged in for. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2523 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-24fixed typo. i apologize for being an idiot, i promise i will test even ↵pimpmylinux
oneliners next time... git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2469 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-24oops, sorry :(pimpmylinux
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2466 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-24fixed trying to delete sessions when a ulined server quitspimpmylinux
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2465 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-09Make this really work now. Promise. serv_uplink double setting needs to go ↵rburchell
away in the future. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2447 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-09Introduce clients when we first see the uplink (i.e. successfully ↵rburchell
connected), not when the uplink has finished synchronising. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2446 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-08Also make use of synched state to introduce pseudoclients instead of blindly ↵rburchell
introducing them on connect. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2443 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-08Remove SSYNC_UNKNOWN. All IRCds can report sync state, and for those that ↵rburchell
_really_ can't, we can find out via PING/PONG exchange anyway. We will be making use of sync state more shortly. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2441 5417fbe8-f217-4b02-8779-1006273d7864
2009-06-29Made globaloncycleup message and OnServerConnect use the correct serveradam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2344 5417fbe8-f217-4b02-8779-1006273d7864
2009-06-06New events stuff, patch totally by Adam (aka Awesome).rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2313 5417fbe8-f217-4b02-8779-1006273d7864
2009-05-08Patch to allow jupe on all bar uplink and self. Thanks Adam. (Bug #1076)sjaz
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2298 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-31Fix compile error in servers.c.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2229 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-31Send snotice after connecting to the network. Also change OnServerConnect to ↵rburchell
take Server*, not a name. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2227 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-31Fix ss_main's client introduction.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2226 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-25Fix bug #1009, patch inspired by DukePyrolator, add a TS6 SID generator from ↵cyberbotx
DukePyrolator, as well as change SendServer() to take a Server struct and use the result of new_server() in the SendServer() call instead. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2206 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-10NS_VERBOTEN -> NS_FORBIDDEN, CS_VERBOTEN -> CS_FORBIDDEN, etc.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1973 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-16Correct logic: don't allow UID init if IRCd does not support TS6rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1741 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-16Remove UseTS6. This is now on or off at an ircd, not a config level. Move ↵rburchell
Chary to obsolete for now, it's identical to ratbox anyway in most regards, and it's getting annoying having to redo the same work twice.. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1740 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15Fix crash-on-squit with insp12: problem is that an sid was passed in as ↵rburchell
source for do_server(), which apparantly wasn't much liked.. it also now throws an exception if a nonexistant (to anope) uplink is found, because that would cause weird problems later on. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1688 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-14Small miscellaneous fixes, pt 3.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1671 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-13Fixed a few annoying compile warningsrobbeh
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1664 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-03Correctly save Numeric to TS6SID.Robin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1521 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02Replaced anope_SendSquit() with direct call to SendSquit() in IRCDProto class.Naram Qashat cyberbotx@cyberbotx.com
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1349 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-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-30Add MODULE_INIT to all modules, fix a few various crashes.Robin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1273 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30Made all protocol modules able to be compiled via mostly constifying strings.Robin Burchell w00t@inspircd.org
Due to the above, also had to constify strings in many other areas. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1202 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30Move delete_user() into a destructor. Fix a few minor bugs with conversion also.Robin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1194 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30Various g++ fixes. Compiles, doesn't link.Robin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1180 5417fbe8-f217-4b02-8779-1006273d7864
2008-01-16BUILD : 1.7.21 (1351) BUGS : 831 NOTES : Fixed a bug in next_server() which ↵geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
skipped over all servers right away when passing -1 as param git-svn-id: svn://svn.anope.org/anope/trunk@1351 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1066 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-29BUILD : 1.7.19 (1286) BUGS : 731 NOTES : Fixed TS6 UID generation geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: svn://svn.anope.org/anope/trunk@1286 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1004 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
2007-06-15BUILD : 1.7.19 (1250) BUGS : 718 NOTES : Fixed the fact that we did not send ↵geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
a receive-notification for the SQUIT for a juped server git-svn-id: svn://svn.anope.org/anope/trunk@1250 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@969 5417fbe8-f217-4b02-8779-1006273d7864
2007-06-15BUILD : 1.7.19 (1249) BUGS : 726 NOTES : Fixed some jupe stuff: when juping ↵geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
a currently non-existing server, it was still squitted and the globaloncycleup message was sent to newly juped servers git-svn-id: svn://svn.anope.org/anope/trunk@1249 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@968 5417fbe8-f217-4b02-8779-1006273d7864
2005-10-01BUILD : 1.7.11 (908) BUGS : NOTES : Created a CapabInfo table to allow ↵geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
easier handling of capab tokens/flags git-svn-id: svn://svn.anope.org/anope/trunk@908 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@654 5417fbe8-f217-4b02-8779-1006273d7864
2005-10-01BUILD : 1.7.11 (906) BUGS : NOTES : Added information on the uplink server ↵geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
via /os stats uplink git-svn-id: svn://svn.anope.org/anope/trunk@906 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@652 5417fbe8-f217-4b02-8779-1006273d7864
2005-05-02BUILD : 1.7.8 (753) BUGS : N/a NOTES : Merged anope-dev with trunk rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: svn://svn.anope.org/anope/trunk@753 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@516 5417fbe8-f217-4b02-8779-1006273d7864
2005-04-04BUILD : 1.7.8 (656) BUGS : 331 NOTES : (1) Updated de.l (2) mydbgen will now ↵geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
be installed correctly (3) added support for cmodes +SN to solidircd git-svn-id: svn://svn.anope.org/anope/trunk@656 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@504 5417fbe8-f217-4b02-8779-1006273d7864
2005-04-04BUILD : 1.7.8 (655) BUGS : NOTES : We need to update the sync-state for leaf ↵geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
servers as well, or strange things will happen... git-svn-id: svn://svn.anope.org/anope/trunk@655 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@503 5417fbe8-f217-4b02-8779-1006273d7864