1
0
mirror of https://github.com/anope/anope.git synced 2026-07-09 20:03:13 +02:00

Correctly identify a user when they get autoidentified and made db_plain not crash if it gets a founderless channel

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2888 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
Adam-
2010-04-11 20:09:06 +00:00
parent 34f10d78fc
commit e84db77a2c
3 changed files with 46 additions and 15 deletions
+13
View File
@@ -272,6 +272,19 @@ class ModuleException : public CoreException
virtual ~ModuleException() throw() {}
};
class DatabaseException : public CoreException
{
public:
/** This constructor can be used to specify an error message before throwing.
* @param mmessage The exception
*/
DatabaseException(const std::string &message) : CoreException(message, "A database module") { }
/** Destructor
* @throws Nothing
*/
virtual ~DatabaseException() throw() { }
};
/*************************************************************************/