diff --git a/Changes b/Changes index c66d7d817..102d6a6b3 100644 --- a/Changes +++ b/Changes @@ -333,4 +333,5 @@ - Put out m_chghost, m_sethost in modules, remade Makefile structure and added src/modules - Modified an old Unreal3.1.1 to be network file converter, and converted - all of the module files to the new format. + all of the networks files to the new format. +- Fixed a bug with RAKILL and UNSQLINE not working diff --git a/src/s_svs.c b/src/s_svs.c index d8f14fac0..4835dc5ff 100644 --- a/src/s_svs.c +++ b/src/s_svs.c @@ -489,7 +489,7 @@ int m_rakill(aClient *cptr, aClient *sptr, int parc, char *parv[]) return 0; } - if (bconf->flag.type != CONF_BAN_TYPE_AKILL) + if (bconf->flag.type2 != CONF_BAN_TYPE_AKILL) { sendto_one(sptr, ":%s NOTICE %s :*** Error: Cannot remove other ban types", me.name, sptr->name); @@ -505,7 +505,7 @@ int m_rakill(aClient *cptr, aClient *sptr, int parc, char *parv[]) } /* Wipe it out. */ - del_ConfigItem(bconf, &conf_me); + del_ConfigItem(bconf, &conf_ban); MyFree(bconf->mask); if (bconf->reason) MyFree(bconf->reason); @@ -1073,7 +1073,7 @@ int m_unsqline(aClient *cptr, aClient *sptr, int parc, char *parv[]) if (bconf = Find_banEx(parv[1], CONF_BAN_NICK, CONF_BAN_TYPE_AKILL)) { - del_ConfigItem(bconf, &conf_me); + del_ConfigItem(bconf, &conf_ban); if (bconf->mask) MyFree(bconf->mask); if (bconf->reason)