summaryrefslogtreecommitdiff
path: root/src/servers.c
AgeCommit message (Collapse)Author
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
2005-03-28BUILD : 1.7.8 (650) BUGS : 338 NOTES : Moved GlobalOnCycleUP again... ribosome ribosome@31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: svn://svn.anope.org/anope/trunk@650 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@498 5417fbe8-f217-4b02-8779-1006273d7864
2005-03-28BUILD : 1.7.8 (649) BUGS : 336 NOTES : Moved code for GlobalOnCycleUP to ↵ribosome ribosome@31f1291d-b8d6-0310-a050-a5561fc1590b
after the server has connected. git-svn-id: svn://svn.anope.org/anope/trunk@649 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@497 5417fbe8-f217-4b02-8779-1006273d7864
2005-03-28BUILD : 1.7.8 (644) BUGS : 330 NOTES : Fixed bugs with nickserv suspend ribosome ribosome@31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: svn://svn.anope.org/anope/trunk@644 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@492 5417fbe8-f217-4b02-8779-1006273d7864
2005-03-14BUILD : 1.7.8 (619) BUGS : NOTES : Fixed the recording of server sync state ↵geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
more reliable, which fixes a bug where servers which did not report bursts would always remain in burst-mode internally git-svn-id: svn://svn.anope.org/anope/trunk@619 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@467 5417fbe8-f217-4b02-8779-1006273d7864
2005-03-13BUILD : 1.7.8 (617) BUGS : NOTES : Fixed: [1] Will not set already set ↵geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
channel modes anymore [2] Do not display entrymsg/greet while syncing [3] Sync state for uplink not always set correctly git-svn-id: svn://svn.anope.org/anope/trunk@617 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@465 5417fbe8-f217-4b02-8779-1006273d7864
2005-02-28BUILD : 1.7.8 (588) BUGS : 304 NOTES : 1. nickIsServices() no longer alters ↵trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b
the buffer 2. Fixes +I on Unreal and Bahamut 3. Anope Feature Request 285 4. Updates documentation 5. Ratbox compiles clean with make strict 6. Trap and storing of NICKCHARS git-svn-id: svn://svn.anope.org/anope/trunk@588 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@438 5417fbe8-f217-4b02-8779-1006273d7864
2005-01-27BUILD : 1.7.7 (556) BUGS : N/A NOTES : synced headers so our copyright is ↵trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b
2005, Solid IRCD compiles again, fixed sstrdup() error, updated the documentation a bit, cleaned up ratbox a bit. git-svn-id: svn://svn.anope.org/anope/trunk@556 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@409 5417fbe8-f217-4b02-8779-1006273d7864
2005-01-23BUILD : 1.7.7 (555) BUGS : N/A NOTES : TS6 support, Ratbox support, lots of ↵trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b
little bug fixes, updated documentation git-svn-id: svn://svn.anope.org/anope/trunk@555 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@408 5417fbe8-f217-4b02-8779-1006273d7864
2004-12-22BUILD : 1.7.6 (497) BUGS : 256, 258 NOTES : support for QS, and fixed a ↵trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b
/away bug git-svn-id: svn://svn.anope.org/anope/trunk@497 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@351 5417fbe8-f217-4b02-8779-1006273d7864
2004-12-19BUILD : 1.7.6 (489) BUGS : 244, 246, 247, 248, 249, 250, 251, 252, 254, 255 ↵trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b
NOTES : 1. In some cases READONLY was not respected, and data was saved. 2. Corrected a few mistakes in example.conf. 3. Wrong column type in tables.sql for nick alias status fiag. 4. listchans and listnicks work under Cygwin. 5. NickRegDelay no longer accepts negative values. 6. -is44 option not show if converter not built. 7. Removed #ifndef STREAMLINE from the code as its no longer set during build time 8. MS MAX LIMIT was set incorrectly 9. Segfault if USERDB enabled and tables does not exist 10. Provides clear message of SUPERADMIN is not enabled git-svn-id: svn://svn.anope.org/anope/trunk@489 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@343 5417fbe8-f217-4b02-8779-1006273d7864
2004-12-06BUILD : 1.7.6 (478) BUGS : N/A NOTES : 1. CS CLEAR strips +q/+a 2. CS CLEAR ↵trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b
uses SVSMODE with Unreal to strip +q/a/o/h/v 3. SVSMODE unban works again on Viagra 4. Adds anope_cmd_svsmode_chan() to for SVSMODE on channels 5. OS CLEARMODES uses SVSMODE with Unreal to strip +q/a/o/h/v 6. memory.c, servers.c, slist.c, sockutil.c, misc. is doxygen ready 7. Unreal32 pseduo clients use SJOIN now to join the channels 8. clean out the process() buffers before we start to use them, maybe less garbage in them when we do bts 9. Few memory cleans up in hostserv do_setall() 10. Tons of clean up, only a handful left when you make strict git-svn-id: svn://svn.anope.org/anope/trunk@478 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@332 5417fbe8-f217-4b02-8779-1006273d7864