Remove useless spam at core boot. I have never seen, nor heard of a script not assigned to a npc, crashing the core.

--HG--
branch : trunk
This commit is contained in:
arcanzic
2010-01-23 13:00:06 -06:00
parent 171e7b70a5
commit c827f58d93
+1 -1
View File
@@ -234,7 +234,7 @@ void Script::RegisterSelf()
} }
else if(Name.find("example") == std::string::npos) else if(Name.find("example") == std::string::npos)
{ {
error_db_log("CRASH ALERT! TrinityScript: RegisterSelf, but script named %s does not have ScriptName assigned in database.",(this)->Name.c_str()); //error_db_log("CRASH ALERT! TrinityScript: RegisterSelf, but script named %s does not have ScriptName assigned in database.",(this)->Name.c_str());
delete this; delete this;
} }
} }