From 47858bb48f2735d0a44e8c461951559fa94062d8 Mon Sep 17 00:00:00 2001 From: Yohann Ferreira Date: Tue, 24 Jan 2006 22:10:29 +0000 Subject: 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. --- src/main.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/main.cpp') 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(); -- cgit v1.2.3-70-g09d2