From c86ee8c8d2f39fe2ae2f6d5f9b597b2a31708575 Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 25 Sep 2006 11:11:45 +0000 Subject: Fix (broken) ./configure -update and ./configure -modupdate git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5318 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/extra/m_sqlv2.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'src/modules/extra/m_sqlv2.h') diff --git a/src/modules/extra/m_sqlv2.h b/src/modules/extra/m_sqlv2.h index bce437858..76d39a8f6 100644 --- a/src/modules/extra/m_sqlv2.h +++ b/src/modules/extra/m_sqlv2.h @@ -30,6 +30,13 @@ typedef std::deque ParamL; */ class SQLexception : public ModuleException { + SQLexception(const std::string &reason) : ModuleException(reason) + { + } + + SQLexception() : ModuleException("SQLv2: Undefined exception") + { + } }; /** An exception thrown when a bad column or row name or id is requested @@ -37,7 +44,9 @@ class SQLexception : public ModuleException class SQLbadColName : public SQLexception { public: - SQLbadColName() { } + SQLbadColName() : SQLexception("SQLv2: Bad column name") + { + } }; /** SQLerror holds the error state of any SQLrequest or SQLresult. -- cgit v1.2.3