diff options
author | Yohann Ferreira <bertram@cegetel.net> | 2006-01-24 22:10:29 +0000 |
---|---|---|
committer | Yohann Ferreira <bertram@cegetel.net> | 2006-01-24 22:10:29 +0000 |
commit | 47858bb48f2735d0a44e8c461951559fa94062d8 (patch) | |
tree | f63baae9ff9959f7c7795b44aa79be179b54a6ae /src/main.cpp | |
parent | 5293e989f8ad43a1b02562be2bcba071803f24c3 (diff) | |
download | manaserv-47858bb48f2735d0a44e8c461951559fa94062d8.tar.gz manaserv-47858bb48f2735d0a44e8c461951559fa94062d8.tar.bz2 manaserv-47858bb48f2735d0a44e8c461951559fa94062d8.tar.xz manaserv-47858bb48f2735d0a44e8c461951559fa94062d8.zip |
Chat Channeling Commit part 4. Renamed the slang filter into StringFilter and moved some code to it. Added the missing protocol values, and implemented registering/registering of channels; More to come about it.
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main.cpp b/src/main.cpp index fef59d3d..833492b2 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -48,7 +48,7 @@ #include "storage.h" #include "utils/logger.h" -#include "utils/slangsfilter.h" +#include "utils/stringfilter.h" // Scripting #ifdef SCRIPT_SUPPORT @@ -88,7 +88,7 @@ Skill skillTree("base"); /**< Skill tree */ Configuration config; /**< XML config reader */ -tmwserv::utils::SlangsFilter *slangsFilter; /**< Slang's Filter */ +tmwserv::utils::StringFilter *stringFilter; /**< Slang's Filter */ /** Account message handler */ AccountHandler *accountHandler; @@ -173,7 +173,7 @@ void initialize() LOG_INFO("Using Log File: " << logPath, 0) // Initialize the slang's filter. - slangsFilter = new SlangsFilter(&config); + stringFilter = new StringFilter(&config); // Initialize the global handlers // FIXME: Make the global handlers global vars or part of a bigger @@ -253,7 +253,7 @@ void initialize() */ void deinitialize() { - delete slangsFilter; + delete stringFilter; // Write configuration file config.write(); |