diff options
| author | 2013-05-16 01:57:09 +0200 | |
|---|---|---|
| committer | 2013-05-16 01:57:09 +0200 | |
| commit | a2e9e2837da14f7408b794750f86cca0d4cfd884 (patch) | |
| tree | ef9bed689281af83441744eeb720dd816beac492 /src/hashcomp.cpp | |
| parent | Allow spaces (and more) in oper types (diff) | |
| download | inspircd++-a2e9e2837da14f7408b794750f86cca0d4cfd884.tar.gz inspircd++-a2e9e2837da14f7408b794750f86cca0d4cfd884.tar.bz2 inspircd++-a2e9e2837da14f7408b794750f86cca0d4cfd884.zip | |
irc::Spacify--
Diffstat (limited to 'src/hashcomp.cpp')
| -rw-r--r-- | src/hashcomp.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
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(); |
