diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-10 22:40:57 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-10 22:40:57 +0000 |
commit | f9636a2eff46f6829bf9e01c711ab1ba45a7d50a (patch) | |
tree | 4fd9dc8529e9e0adbd5acb47b5fa0f960aef195c /src/inspircd.cpp | |
parent | 24b1fbeec8e61e9636daaf606778c324d3ae3042 (diff) |
So much stuff changed in this one, i forgot most of it.
Oh yeah, main thing is ModeHandler and ModeWatcher classes now take an InspIRCd* to their constructor
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4858 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r-- | src/inspircd.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 5ed9b1cc9..439c4a305 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -64,7 +64,6 @@ #include "typedefs.h" #include "command_parse.h" -using irc::sockets::BindPorts; using irc::sockets::NonBlocking; using irc::sockets::insp_ntoa; using irc::sockets::insp_inaddr; @@ -287,12 +286,12 @@ InspIRCd::InspIRCd(int argc, char** argv) : ModCount(-1) OpenLog(argv, argc); this->stats = new serverstats(); - this->Parser = new CommandParser(); + this->Parser = new CommandParser(this); this->Timers = new TimerManager(); Config->ClearStack(); Config->Read(true, NULL); CheckRoot(); - this->ModeGrok = new ModeParser(); + this->ModeGrok = new ModeParser(this); this->AddServerName(Config->ServerName); CheckDie(); InitializeDisabledCommands(Config->DisabledCommands, this); @@ -573,7 +572,7 @@ bool InspIRCd::LoadModule(const char* filename) } try { - ircd_module* a = new ircd_module(modfile); + ircd_module* a = new ircd_module(this, modfile); factory[this->ModCount+1] = a; if (factory[this->ModCount+1]->LastError()) { |