diff options
| author | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2010-01-21 06:31:17 +0000 |
|---|---|---|
| committer | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2010-01-21 06:31:17 +0000 |
| commit | 0ed0fa4af62554a7281d403b6895b29e198e8186 (patch) | |
| tree | 4b0509084ef8181790f19c258c3bc1f5e38b80cc /include/extern.h | |
| parent | 15817208aae1c80e2b03668981ac9268d6a02dde (diff) | |
Rewrote how Anope stores channel status modes on users.
This allows 3rd party modules to add and track their own status mode.
Additionally we now store a users status in both the UserContainer and ChannelContainer.
This also fixes the ModeStacker to not send any mode strings unnecessarially and shuffles some code
around so we don't have to manually remove channels from users lists everywhere.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2775 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'include/extern.h')
| -rw-r--r-- | include/extern.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/extern.h b/include/extern.h index 37fc40144..2e610f1fa 100644 --- a/include/extern.h +++ b/include/extern.h @@ -75,16 +75,10 @@ E Channel *nextchan(); E void ChanSetInternalModes(Channel *c, int ac, const char **av); -E int is_on_chan(Channel * c, User * u); E User *nc_on_chan(Channel * c, NickCore * nc); E char *chan_get_modes(Channel * chan, int complete, int plus); -E int chan_get_user_status(Channel * chan, User * user); -E int chan_has_user_status(Channel * chan, User * user, int16 status); -E void chan_remove_user_status(Channel * chan, User * user, int16 status); -E void chan_set_user_status(Channel * chan, User * user, int16 status); - E int get_access_level(ChannelInfo * ci, NickAlias * na); E const char *get_xop_level(int level); @@ -385,7 +379,6 @@ E void change_core_display(NickCore * nc); E void change_core_display(NickCore * nc, const char *newdisplay); E void release(NickAlias * na, int from_timeout); E int do_setmodes(User * u); -E int should_mode_change(int16 status, int16 mode); E void ns_init(); E void nickserv(User * u, char *buf); |
