X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Finspircd.cpp;h=3d80f5250e7fd54b7296c486eb943e91bdb97c16;hb=7892c8a0313c50d8138942ff3b112691caf05a2f;hp=94dd41da0a0c21a5094d9c020f44cdfa0699eaf7;hpb=db7cc57f444a82df65f47b4f7058560e645e35cf;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 94dd41da0..3d80f5250 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -126,8 +126,6 @@ void InspIRCd::Cleanup() this->Modules->Unload(k->c_str()); } } - /* Remove core commands */ - Parser->RemoveRFCCommands(); /* Cleanup Server Names */ for(servernamelist::iterator itr = servernames.begin(); itr != servernames.end(); ++itr) @@ -352,6 +350,10 @@ InspIRCd::InspIRCd(int argc, char** argv) : // Avoid erroneous frees on early exit WindowsIPC = 0; #endif + + Extensible::Register(&User::NICKForced); + Extensible::Register(&User::OperQuit); + FailedPortList pl; int do_version = 0, do_nofork = 0, do_debug = 0, do_nolog = 0, do_root = 0, do_testsuite = 0; /* flag variables */ @@ -571,9 +573,6 @@ InspIRCd::InspIRCd(int argc, char** argv) : this->Config->Apply(NULL, ""); Logs->OpenFileLogs(); - /** Note: This is safe, the method checks for user == NULL */ - this->Parser->SetupCommandTable(); - this->Res = new DNS(this); this->AddServerName(Config->ServerName);