From cd4349598dc6fe7b9075cf9d3460a3cf751fb585 Mon Sep 17 00:00:00 2001 From: stskeeps Date: Sun, 3 Sep 2000 16:54:16 +0000 Subject: [PATCH] +- Fixed a wierd NOTICE bug --- Changes | 1 + src/s_user.c | 9 +++------ 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/Changes b/Changes index 575064729..c0dd41ee3 100644 --- a/Changes +++ b/Changes @@ -609,3 +609,4 @@ - Made Code revisions so that we can compile on Win32, and fixed some of sts's late nite coding sessions(dbin) - Fixed some REAL dumb find_server_quick bugs +- Fixed a wierd NOTICE bug diff --git a/src/s_user.c b/src/s_user.c index da4467999..0d955a4d0 100644 --- a/src/s_user.c +++ b/src/s_user.c @@ -2309,19 +2309,16 @@ int m_notice(cptr, sptr, parc, parv) { if (BadPtr(parv[1])) return 0; -#ifdef NOSPOOF - if (strtoul(parv[1], NULL, 16) != cptr->nospoof) - goto temp; - sptr->nospoof = 0; -#endif if (sptr->user && sptr->name[0]) return register_user(cptr, sptr, sptr->name, sptr->user->username, NULL, NULL); return 0; } - temp: + else if (sptr->name[0]) + { return m_message(cptr, sptr, parc, parv, 1); + } } int channelwho = 0;