mirror of
https://github.com/pissnet/pissircd.git
synced 2025-08-13 13:41:37 +01:00
- Fixed a local /kill bug during connection phase, reported by Gilou (#0000952).
This commit is contained in:
parent
114cec45b1
commit
1557bab74a
2 changed files with 8 additions and 0 deletions
1
Changes
1
Changes
|
@ -2129,3 +2129,4 @@ seen. gmtime warning still there
|
|||
- Recoded the "version flag" system, it is now safe to have multiple modules that use the
|
||||
same flag, new functions are VersionflagAdd and VersionflagDel they replace flag_add and
|
||||
flag_del
|
||||
- Fixed a local /kill bug during connection phase, reported by Gilou (#0000952).
|
||||
|
|
|
@ -207,6 +207,13 @@ DLLFUNC int m_kill(aClient *cptr, aClient *sptr, int parc, char *parv[])
|
|||
me.name, IsWebTV(sptr) ? "PRIVMSG" : "NOTICE", parv[0], nick, acptr->name);
|
||||
chasing = 1;
|
||||
}
|
||||
if (!IsPerson(acptr))
|
||||
{
|
||||
/* Nick exists but user is not registered yet: IOTW "doesn't exist". -- Syzop */
|
||||
sendto_one(sptr, err_str(ERR_NOSUCHNICK),
|
||||
me.name, parv[0], nick);
|
||||
continue;
|
||||
}
|
||||
if ((!MyConnect(acptr) && MyClient(cptr) && !OPCanGKill(cptr))
|
||||
|| (MyConnect(acptr) && MyClient(cptr)
|
||||
&& !OPCanLKill(cptr)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue