summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/hashcomp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hashcomp.cpp b/src/hashcomp.cpp
index 2a880b2c5..5c9cac7bb 100644
--- a/src/hashcomp.cpp
+++ b/src/hashcomp.cpp
@@ -310,7 +310,7 @@ std::string irc::hex(const unsigned char *raw, size_t rawsz)
return buf;
}
-const char* irc::Spacify(char* n)
+const char* irc::Spacify(const char* n)
{
static char x[MAXBUF];
strlcpy(x,n,MAXBUF);