summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/inspircd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/inspircd.h b/include/inspircd.h
index d5e749193..e2eaf8292 100644
--- a/include/inspircd.h
+++ b/include/inspircd.h
@@ -170,7 +170,7 @@ inline std::string ConvToStr(const bool in)
*/
inline std::string ConvToStr(char in)
{
- return std::string(in,1);
+ return std::string(1, in);
}
/** Template function to convert any input type to std::string