diff options
-rw-r--r-- | include/hashcomp.h | 6 | ||||
-rw-r--r-- | src/hashcomp.cpp | 11 |
2 files changed, 0 insertions, 17 deletions
diff --git a/include/hashcomp.h b/include/hashcomp.h index 3963f96e7..c1e8a0ec5 100644 --- a/include/hashcomp.h +++ b/include/hashcomp.h @@ -477,12 +477,6 @@ namespace irc long GetToken(); }; - /** Turn _ characters in a string into spaces - * @param n String to translate - * @return The new value with _ translated to space. - */ - CoreExport const char* Spacify(const char* n); - struct hash { /** Hash an irc::string using RFC1459 case sensitivity rules diff --git a/src/hashcomp.cpp b/src/hashcomp.cpp index 25abd471f..4ddf942ea 100644 --- a/src/hashcomp.cpp +++ b/src/hashcomp.cpp @@ -386,17 +386,6 @@ std::string irc::hex(const unsigned char *raw, size_t rawsz) return hexbuf; } -CoreExport const char* irc::Spacify(const char* n) -{ - static char x[MAXBUF]; - strlcpy(x,n,MAXBUF); - for (char* y = x; *y; y++) - if (*y == '_') - *y = ' '; - return x; -} - - irc::modestacker::modestacker(bool add) : adding(add) { sequence.clear(); |