commit 03c8997af346badcd1c47c6c0c7f84daaa7f7852 from: LucentW date: Wed May 13 20:08:26 2015 UTC Fixed building issues\ Now builds cleanly. Pass all tests from make check. commit - 4396936f383cfc8098e43cece8e4b2af8f0a6fa4 commit + 03c8997af346badcd1c47c6c0c7f84daaa7f7852 blob - d8ee7b70e9854603f2834f294380ab6475585140 blob + 02eb235754217588b7767d9d2a13e49a9f0a6201 --- src/ngircd/channel.c +++ src/ngircd/channel.c @@ -1102,7 +1102,7 @@ Channel_AddBan(CHANNEL *c, const char *mask, const cha { struct list_head *h = Channel_GetListBans(c); LogDebug("Adding \"%s\" to \"%s\" ban list", mask, Channel_Name(c)); - return Lists_Add(h, mask, time(NULL), who); + return Lists_Add(h, mask, time(NULL), who, false); } @@ -1111,7 +1111,7 @@ Channel_AddExcept(CHANNEL *c, const char *mask, const { struct list_head *h = Channel_GetListExcepts(c); LogDebug("Adding \"%s\" to \"%s\" exception list", mask, Channel_Name(c)); - return Lists_Add(h, mask, time(NULL), who); + return Lists_Add(h, mask, time(NULL), who, false); } blob - 9ffa8b147471b18b8ee2a97d4914c162e21e6f44 blob + 0bd9397f215c625db75ca6e121786e6824d8682c --- src/ngircd/class.c +++ src/ngircd/class.c @@ -105,7 +105,7 @@ Class_AddMask(const int Class, const char *Pattern, ti Lists_MakeMask(Pattern, mask, sizeof(mask)); return Lists_Add(&My_Classes[Class], mask, - ValidUntil, Reason); + ValidUntil, Reason, false); } GLOBAL void blob - 2e5c680aaa52ddde65b6a0ade839e90e96770cdb blob + a309ee9f068fcba162c9f393a8b1d46633c3604c --- src/ngircd/irc-op.c +++ src/ngircd/irc-op.c @@ -200,7 +200,7 @@ IRC_INVITE(CLIENT *Client, REQUEST *Req) if (remember) { /* We must remember this invite */ if (!Channel_AddInvite(chan, Client_MaskCloaked(target), - true)) + true, Client_ID(from))) return CONNECTED; } } blob - 2ca67e9d444079c00952926a289d6cc1f8a27fcc blob + 8cbe20819f40f72a42847f62fc6ca984e5a7bd18 --- src/ngircd/lists.c +++ src/ngircd/lists.c @@ -125,7 +125,7 @@ Lists_GetNext(const struct list_elem *e) */ bool Lists_Add(struct list_head *h, const char *Mask, time_t ValidUntil, - const char *Reason, bool OnlyOnce = false) + const char *Reason, bool OnlyOnce) { struct list_elem *e, *newelem; blob - 4206151ed06558c22526a7f87eca0acf23fadde9 blob + 070e4233efcaac596641bfb78626bfedb20c22ea --- src/ngircd/lists.h +++ src/ngircd/lists.h @@ -36,7 +36,8 @@ GLOBAL struct list_elem *Lists_CheckDupeMask PARAMS((c const char *mask)); GLOBAL bool Lists_Add PARAMS((struct list_head *h, const char *Mask, - time_t ValidUntil, const char *Reason, bool OnlyOnce)); + time_t ValidUntil, const char *Reason, + bool OnlyOnce)); GLOBAL void Lists_Del PARAMS((struct list_head *head, const char *Mask)); GLOBAL unsigned long Lists_Count PARAMS((struct list_head *h));