diff options
author | pimpmylinux <pimpmylinux@5417fbe8-f217-4b02-8779-1006273d7864> | 2010-05-05 23:09:14 +0000 |
---|---|---|
committer | pimpmylinux <pimpmylinux@5417fbe8-f217-4b02-8779-1006273d7864> | 2010-05-05 23:09:14 +0000 |
commit | 1b7749f108675e7c83294c0e9b9b39ef33823e79 (patch) | |
tree | 0e1a42cf4db55c0c5adf2b3501a536b5e4cb899e /src | |
parent | 7ffaa93865d612699d76ca9a9da8f0ea3ccabd9c (diff) |
SVN Id keyword to .h/.c/.cpp files
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2933 5417fbe8-f217-4b02-8779-1006273d7864
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'"); } } |