summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2013-05-20 14:20:08 -0400
committerAdam <Adam@anope.org>2013-05-20 14:20:08 -0400
commit06a606ea6668d6a5fa506f7de4575eff7c3c8871 (patch)
treec447d701968aac5bcdbaa8f940ba8e8a3f074f6b
parent991a6a429bd6abc70c0eac33bcca124b0600cc0f (diff)
Fixup last commit
-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;