From e9bb00fec3c98d623e09f9659270c7738e1af522 Mon Sep 17 00:00:00 2001 From: Bram Matthys Date: Mon, 30 Apr 2007 19:37:30 +0000 Subject: [PATCH] - Fixed SVSKILL sending an illegal (wrong direction) QUIT right after, #0003307 --- Changes | 1 + src/modules/m_svskill.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/Changes b/Changes index 859491510..f4aae6de5 100644 --- a/Changes +++ b/Changes @@ -1459,3 +1459,4 @@ shows your own (cloaked) IP. - #0002846 reported by alex323, patched by WolfSage, regarding local ircop cannot issue CLOSE command - #3272 patched by w00t, regarding remove restrictions on NOTICE/PRIVMSG $* for opers. +- Fixed SVSKILL sending an illegal (wrong direction) QUIT right after, #0003307 diff --git a/src/modules/m_svskill.c b/src/modules/m_svskill.c index 265765a27..d9a49f609 100644 --- a/src/modules/m_svskill.c +++ b/src/modules/m_svskill.c @@ -119,6 +119,8 @@ CMD_FUNC(m_svskill) sendto_serv_butone_token(cptr, parv[0], MSG_SVSKILL, TOK_SVSKILL, "%s :%s", parv[1], comment); + acptr->flags |= FLAGS_KILLED; + return exit_client(cptr, acptr, sptr, comment); }