mirror of
https://github.com/pissnet/pissircd.git
synced 2025-08-06 10:15:24 +01:00
.
This commit is contained in:
parent
5237c6748b
commit
77653accda
1 changed files with 1 additions and 1 deletions
|
@ -403,7 +403,7 @@ int m_akill(cptr, sptr, parc, parv)
|
|||
bconf = (ConfigItem_ban *) MyMallocEx(sizeof(ConfigItem_ban));
|
||||
bconf->flag.type = CONF_BAN_USER;
|
||||
bconf->mask = strdup(make_user_host(usermask, hostmask));
|
||||
bconf->reason = strdup(comment);
|
||||
bconf->reason = comment ? strdup(comment) : NULL;
|
||||
bconf->flag.type2 = CONF_BAN_TYPE_AKILL;
|
||||
add_ConfigItem((ConfigItem *) bconf, (ConfigItem **) &conf_ban);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue