summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorattilamolnar <attilamolnar@hush.com>2013-05-16 01:57:09 +0200
committerattilamolnar <attilamolnar@hush.com>2013-05-16 01:57:09 +0200
commita2e9e2837da14f7408b794750f86cca0d4cfd884 (patch)
treeef9bed689281af83441744eeb720dd816beac492
parentc5a46583800374344d8676eccd7061a15a5ac1ce (diff)
irc::Spacify--
-rw-r--r--include/hashcomp.h6
-rw-r--r--src/hashcomp.cpp11
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();