summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-09-25 11:11:45 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-09-25 11:11:45 +0000
commitc86ee8c8d2f39fe2ae2f6d5f9b597b2a31708575 (patch)
tree4d7cfd279ac492109a6a36ee809f883ea405c3f4
parent09c2980424577f2aef5a7ffb645c47ccce1e4cc9 (diff)
Fix (broken) ./configure -update and ./configure -modupdate
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5318 e03df62e-2008-0410-955e-edbf42e46eb7
-rwxr-xr-xconfigure2
-rw-r--r--src/modules/extra/m_sqlv2.h11
2 files changed, 12 insertions, 1 deletions
diff --git a/configure b/configure
index 1245f2b61..7d962d17c 100755
--- a/configure
+++ b/configure
@@ -294,6 +294,7 @@ sub clean
sub update
{
+ getmodules();
# Does the cache file exist?
if (!getcache()) {
# No, No it doesn't.. *BASH*
@@ -313,6 +314,7 @@ sub update
sub modupdate
{
+ getmodules();
# Does the cache file exist?
if (!getcache()) {
# No, No it doesn't.. *BASH*
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<std::string> 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.