summaryrefslogtreecommitdiff
path: root/src/misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/misc.c')
-rw-r--r--src/misc.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/misc.c b/src/misc.c
index d8ef83f27..091d83c51 100644
--- a/src/misc.c
+++ b/src/misc.c
@@ -1062,23 +1062,6 @@ u_int32_t getrandom32(void)
/*************************************************************************/
/**
- * Determine if we need to send the TOKEN
- * @param token1
- * @param token2
- * @return token to send
- */
-const char *send_token(const char *token1, const char *token2)
-{
- if (UseTokens && ircd->token && ircdcap->token) {
- return token2;
- } else {
- return token1;
- }
-}
-
-/*************************************************************************/
-
-/**
* Number of tokens in a string
* @param str String
* @param dilim Dilimiter