summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/inspircd.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/inspircd.h b/include/inspircd.h
index 678ebf0a5..9c53fdf41 100644
--- a/include/inspircd.h
+++ b/include/inspircd.h
@@ -106,6 +106,11 @@ inline std::string ConvToStr(const bool in)
return (in ? "1" : "0");
}
+inline std::string ConvToStr(char in)
+{
+ return std::string(in,1);
+}
+
template <class T> inline std::string ConvToStr(const T &in)
{
std::stringstream tmp;