]> jfr.im git - irc/quakenet/newserv.git/commit - chanserv/chanserv.h
Added support for remembering the oldest-ever timestamp seen for a channel.
authorsplidge <redacted>
Thu, 31 May 2007 14:46:59 +0000 (15:46 +0100)
committersplidge <redacted>
Thu, 31 May 2007 14:46:59 +0000 (15:46 +0100)
commita54e438d1bf18c41aa38bb849344a44c92738f31
tree861437799887fe21f5785a564881866bcccfeeab
parentc85feb1537cf684f4f3de548a03e407af02fc0be
Added support for remembering the oldest-ever timestamp seen for a channel.
Added to the database with a function to change the timestamp entry on a
channel when needed.

This timestamp is then used when we need to join a channel - the
localburstontochannel() function is used with that timestamp as an argument.
This means we can get the ircd to enforce the sanctity of +i/+k channels via
the netrider code, and also take care of rogue topics, ops, bans and the
like.

Also two unrelated fixes - one to save when we automatically remove +k from
forcemodes because no key was set, and another to prevent the wrong
maxuserid being recorded during load.
chanserv/chancmds.c
chanserv/chanserv.h
chanserv/chanservdb.c
chanserv/chanservuser.c