diff options
author | Adam <Adam@anope.org> | 2016-12-07 15:11:32 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2016-12-07 15:12:52 -0500 |
commit | 30e78efa8f835ab37c29700c4b4593285281ba84 (patch) | |
tree | 908af19cd1ccd7121ff7a1dfdc860d8afbcfdf87 /src/init.cpp | |
parent | e0773188a0d7ecb22f3513c6e080413bf82360b3 (diff) |
Change in source anope.org links to https
Diffstat (limited to 'src/init.cpp')
-rw-r--r-- | src/init.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/init.cpp b/src/init.cpp index 8bd6683b9..92cc70e9a 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -304,13 +304,13 @@ void Anope::Init(int ac, char **av) if (GetCommandLineArgument("version", 'v')) { Log(LOG_TERMINAL) << "Anope-" << Anope::Version() << " -- Built: " << Anope::VersionBuildTime() << " -- Flags: " << Anope::VersionFlags(); - throw CoreException(); + exit(EXIT_SUCCESS); } if (GetCommandLineArgument("help", 'h')) { Log(LOG_TERMINAL) << "Anope-" << Anope::Version(); - Log(LOG_TERMINAL) << "Anope IRC Services (http://www.anope.org)"; + Log(LOG_TERMINAL) << "Anope IRC Services (https://anope.org)"; Log(LOG_TERMINAL) << "Usage ./" << Anope::ServicesBin << " [options] ..."; Log(LOG_TERMINAL) << "-c, --config=filename.conf"; Log(LOG_TERMINAL) << " --confdir=conf file direcory"; @@ -328,9 +328,9 @@ void Anope::Init(int ac, char **av) Log(LOG_TERMINAL) << "-s, --support"; Log(LOG_TERMINAL) << "-v, --version"; Log(LOG_TERMINAL) << ""; - Log(LOG_TERMINAL) << "Further support is available from http://www.anope.org"; + Log(LOG_TERMINAL) << "Further support is available from https://anope.org"; Log(LOG_TERMINAL) << "Or visit us on IRC at irc.anope.org #anope"; - throw CoreException(); + exit(EXIT_SUCCESS); } if (GetCommandLineArgument("nofork", 'n')) @@ -502,8 +502,8 @@ void Anope::Init(int ac, char **av) Log(LOG_TERMINAL) << ex.GetReason(); Log(LOG_TERMINAL) << "*** Support resources: Read through the anope.conf self-contained"; Log(LOG_TERMINAL) << "*** documentation. Read the documentation files found in the 'docs'"; - Log(LOG_TERMINAL) << "*** folder. Visit our portal located at http://www.anope.org/. Join"; - Log(LOG_TERMINAL) << "*** our support channel on /server irc.anope.org channel #anope."; + Log(LOG_TERMINAL) << "*** folder. Visit our portal located at https://anope.org/. Join"; + Log(LOG_TERMINAL) << "*** our support channel on irc.anope.org #anope."; throw CoreException("Configuration file failed to validate"); } |