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:
@@ -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
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user