mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-09 08:43:13 +02:00
- 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
This commit is contained in:
@@ -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
|
||||
|
||||
+3
-3
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user