1.1 --- a/core/CConCmdManager.cpp Fri Feb 16 04:43:48 2007 +0000
1.2 +++ b/core/CConCmdManager.cpp Fri Feb 16 07:48:38 2007 +0000
1.3 @@ -1,5 +1,19 @@
1.4 +/**
1.5 +* ===============================================================
1.6 +* SourceMod (C)2004-2007 AlliedModders LLC. All rights reserved.
1.7 +* ===============================================================
1.8 +*
1.9 +* This file is not open source and may not be copied without explicit
1.10 +* written permission of AlliedModders LLC. This file may not be redistributed
1.11 +* in whole or significant part.
1.12 +* For information, see LICENSE.txt or http://www.sourcemod.net/license.php
1.13 +*
1.14 +* Version: $Id$
1.15 +*/
1.16 +
1.17 #include "CConCmdManager.h"
1.18 #include "sm_srvcmds.h"
1.19 +#include "sm_stringutil.h"
1.20
1.21 CConCmdManager g_ConCmds;
1.22
1.23 @@ -14,13 +28,6 @@
1.24
1.25 typedef List<PlCmdInfo> CmdList;
1.26
1.27 -char *sm_strdup(const char *str)
1.28 -{
1.29 - char *ptr = new char[strlen(str)+1];
1.30 - strcpy(ptr, str);
1.31 - return ptr;
1.32 -}
1.33 -
1.34 CConCmdManager::CConCmdManager()
1.35 {
1.36 m_pCmds = sm_trie_create();