diff options
author | Adam <Adam@anope.org> | 2010-10-04 13:59:30 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2010-10-04 13:59:30 -0400 |
commit | cf98cd3e06e4de0f9902824b0ef8239e947c5b6a (patch) | |
tree | fad06aca79be531d306eb8bf096e0160d6323f9c /src/misc.cpp | |
parent | 632f8df76b31f1300e7ac72890567834eac5511e (diff) |
Changed the protocol handling system to use a vector of strings instead of C style arrays. Burned the old process/split_buf/memory.c code
Diffstat (limited to 'src/misc.cpp')
-rw-r--r-- | src/misc.cpp | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/src/misc.cpp b/src/misc.cpp index 72e991249..54e8bec78 100644 --- a/src/misc.cpp +++ b/src/misc.cpp @@ -557,42 +557,6 @@ Anope::string myStrGetTokenRemainder(const Anope::string &str, const char dilim, /*************************************************************************/ /** - * Clean up the buffer for extra spaces - * @param str to clean up - * @return void - */ -void doCleanBuffer(char *str) -{ - char *in, *out; - char ch; - - if (!str) - return; - - in = str; - out = str; - - while (issp(ch = *in++)); - if (ch) - for (;;) - { - *out++ = ch; - ch = *in++; - if (!ch) - break; - if (!issp(ch)) - continue; - while (issp(ch = *in++)); - if (!ch) - break; - *out++ = ' '; - } - *out = ch; /* == '\0' */ -} - -/*************************************************************************/ - -/** * Kill the user to enforce the sqline * @param nick to kill * @param killer whom is doing the killing |