Commit Diff
Diff:
03c8997af346badcd1c47c6c0c7f84daaa7f7852
93a872a36bca8880d1285ba0222a9294d513df91
Commit:
93a872a36bca8880d1285ba0222a9294d513df91
Tree:
0cf9db7ab483a9d30519e40799f18f0704c7cd62
Author:
LucentW <LucentW@users.noreply.github.com>
Committer:
LucentW <LucentW@users.noreply.github.com>
Date:
Fri May 15 12:02:37 2015 UTC
Message:
Fix with oneshot invites This should finally implement correctly oneshot invites sent via /INVITE
blob - 8cbe20819f40f72a42847f62fc6ca984e5a7bd18
blob + a091addb26860ed703c40ddc25eb5c0c65f1d582
--- src/ngircd/lists.c
+++ src/ngircd/lists.c
@@ -344,7 +344,7 @@ Lists_CheckReason(struct list_head *h, CLIENT *Client,
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);
IRCNow