]> git.netwichtig.de Git - user/henk/code/inspircd.git/commit
Rewrite invite system
authorAttila Molnar <attilamolnar@hush.com>
Mon, 2 Nov 2015 12:28:55 +0000 (13:28 +0100)
committerAttila Molnar <attilamolnar@hush.com>
Mon, 2 Nov 2015 12:28:55 +0000 (13:28 +0100)
commit30fc51c6ddca487a1b89da9ab0ab59da003aee36
tree8727403ddfdc51441db940ba77d2cce6cea3ec66
parenta6b53dbc3629eb329b5b77d81e81ced837d4dc66
Rewrite invite system

- Moved out of core, now lives entirely in core_channel
- Accessible using the provided API after including the appropriate header
- Invites are stored in an extension attached to LocalUser/Channel objects, they no longer need special handling when destroying these objects or when lowering TS
- Expiration of timed invites are implemented using Timers
- When creating a new invite let a non-timed invite override a timed one
16 files changed:
include/channels.h
include/membership.h
include/modules/invite.h [new file with mode: 0644]
include/usermanager.h
include/users.h
src/channels.cpp
src/coremods/core_channel/cmd_invite.cpp
src/coremods/core_channel/core_channel.cpp
src/coremods/core_channel/core_channel.h
src/coremods/core_channel/invite.cpp [new file with mode: 0644]
src/coremods/core_channel/invite.h [new file with mode: 0644]
src/modules/m_override.cpp
src/modules/m_spanningtree/fjoin.cpp
src/modules/m_uninvite.cpp
src/usermanager.cpp
src/users.cpp