summaryrefslogtreecommitdiff
path: root/src/main.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-18Send a QUIT before we shutdown or restart for all of our botsAdam
2010-06-18Rewrote the hashing system to use std::tr1::unordered_mapAdam
2010-06-18Removed old config.h and moved configreader.h to config.hAdam
2010-06-18Allow enabling ssl on a per-uplink basisAdam
2010-06-18Added m_ssl.cpp which allows Anope to use SSL when connecting to its uplinkAdam
2010-06-18Rewrote all of the server handling codeAdam
2010-06-18Removed all references to $, git has no svn keywordsAdam
2010-04-25Fixed a crash when shutdown when not connectedAdam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2915 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-09Fixed cs_ban, os_jupe, and os_restartAdam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2873 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-09Process the socket engine one last time before Anope disconnects to send ↵Adam-
everything through to the uplink git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2869 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-08Rewrote sockets. This adds support for IPv6 and makes Anope capable of ↵Adam-
reconnecting if it loses connection to the uplink. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2862 5417fbe8-f217-4b02-8779-1006273d7864
2010-03-24Rewrote arg parsing system, changed lots of std::string*s to std::string&, ↵Adam-
made --config arg, and made Anope print out a few lines of information when starting git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2833 5417fbe8-f217-4b02-8779-1006273d7864
2010-03-21Replaced old update/expire timers with newer timersAdam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2832 5417fbe8-f217-4b02-8779-1006273d7864
2010-02-08Rewrote & fixed CAPAB supportAdam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2786 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
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-14Ripped out old databasesAdam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2699 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-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-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-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-25Rewrote part of news system and moved it all to os_news.c. Removed src/news.cAdam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2584 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-25Actually use the I_OnRestart eventAdam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2582 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-13Code style cleanup, replace static_cast<std::string>() with std::string(), ↵cyberbotx
slight updates to config reader from InspIRCd. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2555 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-11Fixed restarting Anope on WindowsAdam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2551 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-23Really fix running Anope from another directory besides bin, and also fix ↵cyberbotx
running it from bin (apparently gdb makes the 0 argument in main() the full path, but outside gdb it's not the full path). git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2463 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-23Fix bug with User::SetRealname crashing when a user with a custom GECOS ↵cyberbotx
connects. Fix handling of Anope's current directory, binary name, binary directory, and data directory. This also fixes using /os restart if run from outside the bin directory. (The second fix above is a little hackish, should look into cleaning it up later.) git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2462 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-08Merge do_restart_services and services_restart().rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2445 5417fbe8-f217-4b02-8779-1006273d7864
2009-06-26Changed module callbacks to use new Timer APIadam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2338 5417fbe8-f217-4b02-8779-1006273d7864
2009-06-10New timer infrastructure, can be used inside modules. Replaces old ↵rburchell
ENFORCE/COLLIDE/inhabit timers, too. Patch by Adam. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2317 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-04-16Remove unused modules_unload_all fini paramrburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2279 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-11Remove files from the modules runtime directory on startup, just in case ↵cyberbotx
files were left behind during a previous run. Suggested by DukePyrolator and Namegduf. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2271 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-07Remove all remaining uses of (My)SQL from the code.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2267 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-04Marking these volatile isn't a lot of use, and it is confusing.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2259 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-02Remove capability for commands to hook existing commands, add an ↵rburchell
OnPreCommand event instead. Tidies up a lot of stuff. Also remove a bunch of dead code. NOTE: This will break some stuff. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2241 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-17Fix numerous errors in Win32 building under Visual Studio due to the many ↵cyberbotx
changes to trunk. Trunk now builds under Windows like it should. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2106 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-16Move EVENT_RELOAD to OnReload.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2103 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-16Fix segfault on shutdown, thanks Ankitrburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2092 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-16Make DumpCore actually do something again.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2090 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-09Remove some references to the (removed) waiting variable.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1956 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-26Move Anope's executable (anope.exe for Windows / services for *nix) to be ↵cyberbotx
installed to the bin subdirectory, primarily for the Windows package. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1938 5417fbe8-f217-4b02-8779-1006273d7864
2009-01-26Check noexpire/readonly in expire_all(), not the mainloop. Otherwise, expiry ↵rburchell
will happen on shutdown. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1935 5417fbe8-f217-4b02-8779-1006273d7864