summaryrefslogtreecommitdiff
path: root/src/misc.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2010-10-04 13:59:30 -0400
committerAdam <Adam@anope.org>2010-10-04 13:59:30 -0400
commitcf98cd3e06e4de0f9902824b0ef8239e947c5b6a (patch)
treefad06aca79be531d306eb8bf096e0160d6323f9c /src/misc.cpp
parent632f8df76b31f1300e7ac72890567834eac5511e (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.cpp36
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