summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/inspircd.h2
-rw-r--r--src/helperfuncs.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/inspircd.h b/include/inspircd.h
index de574b6f4..9d6f84474 100644
--- a/include/inspircd.h
+++ b/include/inspircd.h
@@ -544,7 +544,7 @@ class CoreExport InspIRCd
* @return The formatted string
*/
static const char* Format(const char* formatString, ...) CUSTOM_PRINTF(1, 2);
- static const char* Format(const va_list &vaList, const char* formatString) CUSTOM_PRINTF(2, 0);
+ static const char* Format(va_list &vaList, const char* formatString) CUSTOM_PRINTF(2, 0);
static void QuickExit(int status);
diff --git a/src/helperfuncs.cpp b/src/helperfuncs.cpp
index 0673efedf..526b41093 100644
--- a/src/helperfuncs.cpp
+++ b/src/helperfuncs.cpp
@@ -420,7 +420,7 @@ unsigned long InspIRCd::Duration(const std::string &str)
return total + subtotal;
}
-const char* InspIRCd::Format(const va_list &vaList, const char* formatString)
+const char* InspIRCd::Format(va_list &vaList, const char* formatString)
{
static std::vector<char> formatBuffer(1024);
int vsnret = 0;