summaryrefslogtreecommitdiff
path: root/src/helperfuncs.cpp
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-08-12 18:03:52 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-08-12 18:03:52 +0000
commit0036e3a70cabea02e9ec2103ed1dfdf5c799289f (patch)
tree649d2ea45cd483fc83a293b2c2542212cffa051e /src/helperfuncs.cpp
parentb33f836f1b863207a430bfa9cd1dffeaa406524d (diff)
Fixes for config reader
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11504 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/helperfuncs.cpp')
-rw-r--r--src/helperfuncs.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/helperfuncs.cpp b/src/helperfuncs.cpp
index 50a3af61f..26a5db07c 100644
--- a/src/helperfuncs.cpp
+++ b/src/helperfuncs.cpp
@@ -340,16 +340,6 @@ void InspIRCd::CheckRoot()
}
}
-void InspIRCd::CheckDie()
-{
- if (*Config->DieValue)
- {
- printf("WARNING: %s\n\n",Config->DieValue);
- this->Logs->Log("CONFIG",DEFAULT,"Died because of <die> tag: %s",Config->DieValue);
- Exit(EXIT_STATUS_DIETAG);
- }
-}
-
void InspIRCd::SendWhoisLine(User* user, User* dest, int numeric, const std::string &text)
{
std::string copy_text = text;