diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/core/ns_saset.c | 4 | ||||
-rw-r--r-- | src/modules/mysql/db_mysql.h | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/core/ns_saset.c b/src/core/ns_saset.c index 23eb5af39..2cdc7e3bd 100644 --- a/src/core/ns_saset.c +++ b/src/core/ns_saset.c @@ -8,7 +8,7 @@ * Based on the original code of Epona by Lara. * Based on the original code of Services by Andy Church. * - * $Id: ns_set.c 850 2005-08-07 14:52:04Z geniusdex $ + * $Id$ * */ /*************************************************************************/ @@ -584,7 +584,7 @@ public: NSSASet(const std::string &modname, const std::string &creator) : Module(modname, creator) { this->SetAuthor("Anope"); - this->SetVersion("$Id: ns_set.c 850 2005-08-07 14:52:04Z geniusdex $"); + this->SetVersion("$Id$"); this->SetType(CORE); this->AddCommand(NICKSERV, new CommandNSSASet()); diff --git a/src/modules/mysql/db_mysql.h b/src/modules/mysql/db_mysql.h index 8f86baaf5..7fdbd4ce4 100644 --- a/src/modules/mysql/db_mysql.h +++ b/src/modules/mysql/db_mysql.h @@ -243,6 +243,8 @@ class DBMySQL : public Module Error += Con->error(); delete Con; throw ModuleException(Error.c_str()); + } else { + ExecuteQuery("SET NAMES 'utf8'"); } } |