code change stats.motd to neostats.motd and standard neostats.motd added.
This commit is contained in:
parent
0642038c51
commit
40e32e3bb1
4 changed files with 21 additions and 3 deletions
1
.gitattributes
vendored
1
.gitattributes
vendored
|
@ -133,6 +133,7 @@ logs/.keepme -text
|
||||||
/neoircd.c -text
|
/neoircd.c -text
|
||||||
/neoircd.h -text
|
/neoircd.h -text
|
||||||
/neostats.cfg.dist -text
|
/neostats.cfg.dist -text
|
||||||
|
/neostats.motd -text
|
||||||
/ns_help.c -text
|
/ns_help.c -text
|
||||||
/server.c -text
|
/server.c -text
|
||||||
/services.c -text
|
/services.c -text
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
NeoStats ChangeLog - Anything we add/remove/fix/change is in here (even our rants)
|
NeoStats ChangeLog - Anything we add/remove/fix/change is in here (even our rants)
|
||||||
|
|
||||||
* NeoStats * Shmad & Fish * Version ????
|
* 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)
|
- Fixed Ultimate2 CHGHOST for vhosts.. ugh im going insane..tested & working (S)
|
||||||
- Misc. Module updates (S)
|
- Misc. Module updates (S)
|
||||||
- Ultimate 2 uses CHGHOST not SETHOST, updated internals to reflect this. (S)
|
- Ultimate 2 uses CHGHOST not SETHOST, updated internals to reflect this. (S)
|
||||||
|
|
6
ircd.c
6
ircd.c
|
@ -22,7 +22,7 @@
|
||||||
** USA
|
** USA
|
||||||
**
|
**
|
||||||
** NeoStats CVS Identification
|
** 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 <setjmp.h>
|
#include <setjmp.h>
|
||||||
|
@ -1187,7 +1187,7 @@ int flood(User *u)
|
||||||
return 0;
|
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)
|
static void ShowMOTD(char *nick)
|
||||||
{
|
{
|
||||||
FILE *fp;
|
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, ":- %s. Copyright (c) 1999 - 2002 The NeoStats Group", version);
|
||||||
snumeric_cmd(372, nick, ":-");
|
snumeric_cmd(372, nick, ":-");
|
||||||
|
|
||||||
fp = fopen ("stats.motd", "r");
|
fp = fopen ("neostats.motd", "r");
|
||||||
|
|
||||||
if (fp)
|
if (fp)
|
||||||
{
|
{
|
||||||
|
|
15
neostats.motd
Normal file
15
neostats.motd
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
NeoStats IRC Statistical Server
|
||||||
|
'Got NeoStats?'
|
||||||
|
|
||||||
|
|
||||||
|
Developers:
|
||||||
|
Adam Rutter (Shmad) <shmad@neostats.net>
|
||||||
|
Justin Hammond (Fish) <fish@neostats.net>
|
||||||
|
|
||||||
|
|
||||||
|
If you experience a bug with NeoStats, PLEASE report it.
|
||||||
|
With your help this project grows stronger!
|
||||||
|
|
||||||
|
|
||||||
|
http://www.NeoStats.Net
|
||||||
|
The NeoStats Group
|
Reference in a new issue