summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2016-12-07 15:11:32 -0500
committerAdam <Adam@anope.org>2016-12-07 15:12:52 -0500
commit30e78efa8f835ab37c29700c4b4593285281ba84 (patch)
tree908af19cd1ccd7121ff7a1dfdc860d8afbcfdf87 /src
parente0773188a0d7ecb22f3513c6e080413bf82360b3 (diff)
Change in source anope.org links to https
Diffstat (limited to 'src')
-rw-r--r--src/init.cpp12
-rw-r--r--src/tools/anoperc.in6
2 files changed, 9 insertions, 9 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");
}
diff --git a/src/tools/anoperc.in b/src/tools/anoperc.in
index dce1e035e..ac379ed90 100644
--- a/src/tools/anoperc.in
+++ b/src/tools/anoperc.in
@@ -65,7 +65,7 @@ if [ "$1" = "start" ] ; then
echo "This error has been logged in your Anope Log file"
echo "Located in "$LOG""
echo "This may help you diagnose the problem"
- echo "Further help may be available from http://www.anope.org/"
+ echo "Further help may be available from https://anope.org/"
exit 1
fi
@@ -101,7 +101,7 @@ elif [ "$1" = "restart" ] ; then
echo "This error has been logged in your Anope Log file"
echo "Located in "$LOG""
echo "This may help you diagnose the problem"
- echo "Further help may be available from http://www.anope.org/"
+ echo "Further help may be available from https://anope.org/"
exit 1
fi
@@ -128,7 +128,7 @@ elif [ "$1" = "help" ] ; then
echo "$0 help Show this help menu"
echo "If you need further help please check the /docs/"
echo "folder or make use of our extensive online support at"
- echo "http://www.anope.org/"
+ echo "https://anope.org/"
fi
else