summaryrefslogtreecommitdiff
path: root/include/inspstring.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/inspstring.h')
-rw-r--r--include/inspstring.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/inspstring.h b/include/inspstring.h
index ccc77da66..2501b76ce 100644
--- a/include/inspstring.h
+++ b/include/inspstring.h
@@ -29,7 +29,7 @@
do { \
va_list _vaList; \
va_start(_vaList, last); \
- ret = InspIRCd::Format(_vaList, format); \
+ ret.assign(InspIRCd::Format(_vaList, format)); \
va_end(_vaList); \
} while (false);