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:
@@ -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() { }
|
||||
};
|
||||
|
||||
/*************************************************************************/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user