Fix with oneshot invites

This should finally implement correctly oneshot invites sent via /INVITE
This commit is contained in:
LucentW 2015-05-15 14:02:21 +02:00
parent 03c8997af3
commit 93a872a36b
1 changed files with 1 additions and 1 deletions

View File

@ -344,7 +344,7 @@ Lists_CheckReason(struct list_head *h, CLIENT *Client, char *reason, size_t len)
if (MatchCaseInsensitive(e->mask, Client_MaskCloaked(Client))) {
if (len && e->reason)
strlcpy(reason, e->reason, len);
if (e->valid_until == 1) {
if (e->onlyonce) {
/* Entry is valid only once, delete it */
LogDebug("Deleted \"%s\" from list (used).",
e->mask);