1
0
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:
stskeeps
2001-03-17 18:56:50 +00:00
parent edfca03e28
commit fe7b258bfb
2 changed files with 5 additions and 4 deletions
+2 -1
View File
@@ -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
View File
@@ -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)