summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/modules/extra/m_filter_pcre.cpp2
-rw-r--r--src/modules/m_censor.cpp2
-rw-r--r--src/modules/m_filter.cpp2
-rw-r--r--src/modules/m_helpop.cpp2
-rw-r--r--src/modules/m_randquote.cpp2
-rwxr-xr-xsrc/svn-rev.sh2
6 files changed, 6 insertions, 6 deletions
diff --git a/src/modules/extra/m_filter_pcre.cpp b/src/modules/extra/m_filter_pcre.cpp
index ff87d7e8a..ade243fb4 100644
--- a/src/modules/extra/m_filter_pcre.cpp
+++ b/src/modules/extra/m_filter_pcre.cpp
@@ -31,7 +31,7 @@ using namespace std;
class FilterPCREException : public ModuleException
{
public:
- virtual char* GetReason()
+ virtual const char* GetReason()
{
return "Could not find <filter file=\"\"> definition in your config file!";
}
diff --git a/src/modules/m_censor.cpp b/src/modules/m_censor.cpp
index d42e8b324..e57d09c8c 100644
--- a/src/modules/m_censor.cpp
+++ b/src/modules/m_censor.cpp
@@ -30,7 +30,7 @@ typedef std::map<irc::string,irc::string> censor_t;
class CensorException : public ModuleException
{
public:
- virtual char* GetReason()
+ virtual const char* GetReason()
{
return "Could not find <censor file=\"\"> definition in your config file!";
}
diff --git a/src/modules/m_filter.cpp b/src/modules/m_filter.cpp
index e08ba479c..929ae6456 100644
--- a/src/modules/m_filter.cpp
+++ b/src/modules/m_filter.cpp
@@ -41,7 +41,7 @@ typedef std::map<std::string,Filter*> filter_t;
class FilterException : public ModuleException
{
public:
- virtual char* GetReason()
+ virtual const char* GetReason()
{
return "Could not find <filter file=\"\"> definition in your config file!";
}
diff --git a/src/modules/m_helpop.cpp b/src/modules/m_helpop.cpp
index c76046727..4e59ab2b8 100644
--- a/src/modules/m_helpop.cpp
+++ b/src/modules/m_helpop.cpp
@@ -160,7 +160,7 @@ class HelpopException : public ModuleException
std::string err;
public:
HelpopException(std::string message) : err(message) { }
- virtual char* GetReason() { return (char*)err.c_str(); }
+ virtual const char* GetReason() { return err.c_str(); }
};
class ModuleHelpop : public Module
diff --git a/src/modules/m_randquote.cpp b/src/modules/m_randquote.cpp
index 7dfd44da3..430adf9ef 100644
--- a/src/modules/m_randquote.cpp
+++ b/src/modules/m_randquote.cpp
@@ -69,7 +69,7 @@ class RandquoteException : public ModuleException
public:
RandquoteException(std::string message) : err(message) { }
- virtual char* GetReason()
+ virtual const char* GetReason()
{
return (char*)err.c_str();
}
diff --git a/src/svn-rev.sh b/src/svn-rev.sh
index a653b8405..846663619 100755
--- a/src/svn-rev.sh
+++ b/src/svn-rev.sh
@@ -1 +1 @@
-echo 3659
+echo 3661