1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-05 09:33:13 +02:00

+- Fixed a wierd NOTICE bug

This commit is contained in:
stskeeps
2000-09-03 16:54:16 +00:00
parent 537a91666e
commit cd4349598d
2 changed files with 4 additions and 6 deletions
+1
View File
@@ -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
+3 -6
View File
@@ -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;