X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fbase.cpp;h=72741eb90d4d10fd715e6d5994d76b6449101745;hb=406ab09f22f46a6cee5559e96f0325768188ffa4;hp=f1f66bd93d383bee51e801cd26c82a8d85c15ffa;hpb=8e475017a6f87ac936993fa9791a6634683dd512;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/base.cpp b/src/base.cpp index f1f66bd93..72741eb90 100644 --- a/src/base.cpp +++ b/src/base.cpp @@ -1,3 +1,19 @@ +/* +------------------------------------+ + * | Inspire Internet Relay Chat Daemon | + * +------------------------------------+ + * + * Inspire is copyright (C) 2002-2004 ChatSpike-Dev. + * E-mail: + * + * + * + * Written by Craig Edwards, Craig McLure, and others. + * This program is free but copyrighted software; see + * the file COPYING for details. + * + * --------------------------------------------------- + */ + #include "base.h" #include "inspircd_config.h" #include @@ -6,6 +22,8 @@ #include "inspircd.h" #include "modules.h" +extern time_t TIME; + bool Extensible::Extend(std::string key, char* p) { // only add an item if it doesnt already exist @@ -36,7 +54,6 @@ char* Extensible::GetExt(std::string key) log(DEBUG,"Checking extension items for %s",key.c_str()); if (this->Extension_Items.find(key) != this->Extension_Items.end()) { - log(DEBUG,"Found item %s %s",key.c_str(),(this->Extension_Items.find(key))->second); return (this->Extension_Items.find(key))->second; } log(DEBUG,"Cant find item %s",key.c_str());