summaryrefslogtreecommitdiff
path: root/src/misc.c
diff options
context:
space:
mode:
authorRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-11-09 00:48:39 +0000
committerRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-11-09 00:48:39 +0000
commitb9d62796920a4fde698af1beee0919fdb13dd59a (patch)
treee75a78115da6cc66940fe2180d39ad9ed2d6c3f9 /src/misc.c
parenta9fd3fd828ab7b717cb7676f3a9e881b02a05743 (diff)
UseTokens needs to die in a fire, don't let it be turned off.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1605 5417fbe8-f217-4b02-8779-1006273d7864
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