From: Havok M. <hav...@us...> - 2004-05-29 03:47:55
|
Update of /cvsroot/havok/havokmud In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16458 Modified Files: act.wizard.c comm.c utility.c Log Message: - fix siteban command Index: utility.c =================================================================== RCS file: /cvsroot/havok/havokmud/utility.c,v retrieving revision 1.121 retrieving revision 1.122 diff -C2 -d -r1.121 -r1.122 *** utility.c 19 May 2004 20:49:28 -0000 1.121 --- utility.c 29 May 2004 03:47:46 -0000 1.122 *************** *** 5037,5041 **** length; extern int numberhosts; ! extern char hostlist[MAX_BAN_HOSTS][30]; length = strlen(site); --- 5037,5041 ---- length; extern int numberhosts; ! extern char hostlist[MAX_BAN_HOSTS][256]; length = strlen(site); Index: act.wizard.c =================================================================== RCS file: /cvsroot/havok/havokmud/act.wizard.c,v retrieving revision 1.138 retrieving revision 1.139 diff -C2 -d -r1.138 -r1.139 *** act.wizard.c 23 May 2004 01:00:48 -0000 1.138 --- act.wizard.c 29 May 2004 03:47:46 -0000 1.139 *************** *** 685,689 **** extern int numberhosts; ! extern char hostlist[MAX_BAN_HOSTS][30]; #endif --- 685,689 ---- extern int numberhosts; ! extern char hostlist[MAX_BAN_HOSTS][256]; #endif *************** *** 763,767 **** } send_to_char("Host is not in database\n\r", ch); ! } else if (strcasecmp(buf, "list") == 0) { if (numberhosts <= 0) { send_to_char("Host list is empty.\n\r", ch); --- 763,767 ---- } send_to_char("Host is not in database\n\r", ch); ! } else if (strcasecmp(arg1, "list") == 0) { if (numberhosts <= 0) { send_to_char("Host list is empty.\n\r", ch); Index: comm.c =================================================================== RCS file: /cvsroot/havok/havokmud/comm.c,v retrieving revision 1.63 retrieving revision 1.64 diff -C2 -d -r1.63 -r1.64 *** comm.c 18 May 2004 03:34:17 -0000 1.63 --- comm.c 29 May 2004 03:47:46 -0000 1.64 *************** *** 104,108 **** #ifdef SITELOCK ! char hostlist[MAX_BAN_HOSTS][30]; /* list of sites to ban */ int numberhosts; #endif --- 104,108 ---- #ifdef SITELOCK ! char hostlist[MAX_BAN_HOSTS][256]; /* list of sites to ban */ int numberhosts; #endif |