From 40e32e3bb10607be95cb9274ae824e746c9f058f Mon Sep 17 00:00:00 2001 From: shmad <> Date: Tue, 15 Oct 2002 19:30:38 +0000 Subject: [PATCH] code change stats.motd to neostats.motd and standard neostats.motd added. --- .gitattributes | 1 + ChangeLog | 2 ++ ircd.c | 6 +++--- neostats.motd | 15 +++++++++++++++ 4 files changed, 21 insertions(+), 3 deletions(-) create mode 100644 neostats.motd diff --git a/.gitattributes b/.gitattributes index 95143974..c2c7ab1c 100644 --- a/.gitattributes +++ b/.gitattributes @@ -133,6 +133,7 @@ logs/.keepme -text /neoircd.c -text /neoircd.h -text /neostats.cfg.dist -text +/neostats.motd -text /ns_help.c -text /server.c -text /services.c -text diff --git a/ChangeLog b/ChangeLog index 2af26f51..ce30c409 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,8 @@ NeoStats ChangeLog - Anything we add/remove/fix/change is in here (even our rants) * NeoStats * Shmad & Fish * Version ???? + - stats.motd is now neostats.motd demo neostats.motd included with distro (S) + - Code cleanup. (S) - Fixed Ultimate2 CHGHOST for vhosts.. ugh im going insane..tested & working (S) - Misc. Module updates (S) - Ultimate 2 uses CHGHOST not SETHOST, updated internals to reflect this. (S) diff --git a/ircd.c b/ircd.c index 74d8c317..4de4e4eb 100755 --- a/ircd.c +++ b/ircd.c @@ -22,7 +22,7 @@ ** USA ** ** NeoStats CVS Identification -** $Id: ircd.c,v 1.95 2002/10/13 06:57:43 fishwaldo Exp $ +** $Id: ircd.c,v 1.96 2002/10/15 19:30:38 shmad Exp $ */ #include @@ -1187,7 +1187,7 @@ int flood(User *u) return 0; } -/* Display our MOTD Message of the Day from the external stats.motd file */ +/* Display our MOTD Message of the Day from the external neostats.motd file */ static void ShowMOTD(char *nick) { FILE *fp; @@ -1197,7 +1197,7 @@ static void ShowMOTD(char *nick) snumeric_cmd(372, nick, ":- %s. Copyright (c) 1999 - 2002 The NeoStats Group", version); snumeric_cmd(372, nick, ":-"); - fp = fopen ("stats.motd", "r"); + fp = fopen ("neostats.motd", "r"); if (fp) { diff --git a/neostats.motd b/neostats.motd new file mode 100644 index 00000000..73f0ba82 --- /dev/null +++ b/neostats.motd @@ -0,0 +1,15 @@ +NeoStats IRC Statistical Server + 'Got NeoStats?' + + +Developers: +Adam Rutter (Shmad) +Justin Hammond (Fish) + + +If you experience a bug with NeoStats, PLEASE report it. +With your help this project grows stronger! + + +http://www.NeoStats.Net +The NeoStats Group