From 1c908480b6599e4fec49eeb57d1a6e1fe2d40de0 Mon Sep 17 00:00:00 2001 From: "certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b" Date: Sun, 6 Jun 2004 18:16:08 +0000 Subject: 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 --- hostserv.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'hostserv.c') 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; } /*************************************************************************/ -- cgit