summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-07-24 14:55:47 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-07-24 14:55:47 +0000
commitc30a6f1a52a6d786bbea7c37e62ccb2a7106b3b7 (patch)
tree0c54fdc2ccb38bc83cc017abf49cee150eaa36f8 /src
parent890cf3e5a23dabe449314ac3340a2fa98d36545f (diff)
Merge a tiny sub in for readability, use this-> consistantly while calling methods
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7542 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/inspircd.cpp17
1 files changed, 6 insertions, 11 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index eb32eac49..c56744b40 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -295,14 +295,6 @@ void InspIRCd::Restart(const std::string &reason)
}
}
-void InspIRCd::Start()
-{
- printf_c("\033[1;32mInspire Internet Relay Chat Server, compiled %s at %s\n",__DATE__,__TIME__);
- printf_c("(C) InspIRCd Development Team.\033[0m\n\n");
- printf_c("Developers:\t\t\033[1;32mBrain, FrostyCoolSlug, w00t, Om, Special, pippijn, peavey, Burlex\033[0m\n");
- printf_c("Others:\t\t\t\033[1;32mSee /INFO Output\033[0m\n");
-}
-
void InspIRCd::Rehash(int status)
{
SI->WriteOpers("*** Rehashing config file %s due to SIGHUP",ServerConfig::CleanFilename(SI->ConfigFileName));
@@ -549,7 +541,10 @@ InspIRCd::InspIRCd(int argc, char** argv)
Exit(EXIT_STATUS_CONFIG);
}
- this->Start();
+ printf_c("\033[1;32mInspire Internet Relay Chat Server, compiled %s at %s\n",__DATE__,__TIME__);
+ printf_c("(C) InspIRCd Development Team.\033[0m\n\n");
+ printf_c("Developers:\t\t\033[1;32mBrain, FrostyCoolSlug, w00t, Om, Special, pippijn, peavey, Burlex\033[0m\n");
+ printf_c("Others:\t\t\t\033[1;32mSee /INFO Output\033[0m\n");
/* Set the finished argument values */
Config->nofork = do_nofork;
@@ -774,10 +769,10 @@ void InspIRCd::DoOneIteration(bool process_module_sockets)
* This will cause any read or write events to be
* dispatched to their handlers.
*/
- SE->DispatchEvents();
+ this->SE->DispatchEvents();
/* if any users was quit, take them out */
- GlobalCulls.Apply();
+ this->GlobalCulls.Apply();
/* If any inspsockets closed, remove them */
this->InspSocketCull();