summaryrefslogtreecommitdiff
path: root/hostserv.c
diff options
context:
space:
mode:
authorcertus certus@31f1291d-b8d6-0310-a050-a5561fc1590b <certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2004-06-06 18:16:08 +0000
committercertus certus@31f1291d-b8d6-0310-a050-a5561fc1590b <certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2004-06-06 18:16:08 +0000
commit1c908480b6599e4fec49eeb57d1a6e1fe2d40de0 (patch)
tree1de0ae8f46224306f360bfe963c44dbb5ee8d553 /hostserv.c
parent019521bc0938a1b1517b01500923589a4a11e698 (diff)
BUILD : 1.7.3 (171) BUGS : NOTES : Fixed big with long NSGuestNickPrefixes. We just used them in a snprintf without checking their size. Fixed a second guestnick bug as well: if compiled for hybrid guestnum was increased, tho it was never used.
git-svn-id: svn://svn.anope.org/anope/trunk@171 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@119 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'hostserv.c')
-rw-r--r--hostserv.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/hostserv.c b/hostserv.c
index 933509e97..7c2945683 100644
--- a/hostserv.c
+++ b/hostserv.c
@@ -23,7 +23,6 @@ void load_hs_dbase_v1(dbFILE * f);
void load_hs_dbase_v2(dbFILE * f);
void load_hs_dbase_v3(dbFILE * f);
-static int guestnum; /* Current guest number */
HostCore *head = NULL; /* head of the HostCore list */
HostCore *createHostCorelist(HostCore * next, char *nick, char *vIdent,
char *vHost, char *creator, int32 tmp_time);
@@ -94,9 +93,6 @@ void moduleAddHostServCmds(void)
void hostserv_init(void)
{
moduleAddHostServCmds();
- guestnum = time(NULL);
- while (guestnum > 9999999)
- guestnum -= 10000000;
}
/*************************************************************************/