summaryrefslogtreecommitdiff
path: root/src/channel_mode.c
AgeCommit message (Collapse)Author
2014-05-30- channel_mode.c:chm_simple(): channel halfops may now set +pmichael
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@3718 82007160-df01-0410-b94d-b575c5fd34c7
2014-05-30- channel_mode.c:chm_hop(): channel halfops (%) may now no longer (de)halfop ↵michael
other channel members git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@3712 82007160-df01-0410-b94d-b575c5fd34c7
2014-05-30- irc-operators may now no longer set a channel +O if they are only halfops (%)michael
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@3709 82007160-df01-0410-b94d-b575c5fd34c7
2014-05-30- channel_mode.c:chm_operonly(): removed dead codemichael
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@3698 82007160-df01-0410-b94d-b575c5fd34c7
2014-05-29- channel_mode.c: revert changes to channel_modes() for now. apparentlymichael
there are some other parts that rely on this odd behaviour. git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@3690 82007160-df01-0410-b94d-b575c5fd34c7
2014-05-29- channel_mode.c:channel_modes(): replaced sprintf with strcat;michael
use %u conversion specifier for unsigned ints git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@3689 82007160-df01-0410-b94d-b575c5fd34c7
2014-05-29- channel_mode.c:channel_modes(): fix to previous changesmichael
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@3684 82007160-df01-0410-b94d-b575c5fd34c7
2014-05-29- channel_mode.c:channel_modes(): get rid of trailing spaces ifmichael
the channel is +k/+l git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@3683 82007160-df01-0410-b94d-b575c5fd34c7
2014-05-23- channel_mode.c:chm_operonly(): removed redundant assignmentmichael
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@3631 82007160-df01-0410-b94d-b575c5fd34c7
2014-03-23- channel_mode.c:chm_voice, chm_hop, chm_op: removed extraneous/redundant ↵michael
IsClient() test git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@3194 82007160-df01-0410-b94d-b575c5fd34c7
2014-03-23- Cleaned up find_chasing(). Removed useless third 'chasing' argument.michael
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@3193 82007160-df01-0410-b94d-b575c5fd34c7
2014-03-14- channel_mode.c:chm_limit(): instead of passing an empty buffer to atoi()michael
we just bail out git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@3154 82007160-df01-0410-b94d-b575c5fd34c7
2014-02-26- channel_mode.c: made mode_count, mode_limit, simple_modes_mask unsigned ↵michael
int types git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@3058 82007160-df01-0410-b94d-b575c5fd34c7
2014-02-26- channel_mode.c:send_cap_mode_changes(): fixed bug where MODE is used whenmichael
it should use TMODE git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@3052 82007160-df01-0410-b94d-b575c5fd34c7
2014-02-25- channel_mode.c: removed CAP_IE and CAP_EX from channel_capabs[]michael
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@3050 82007160-df01-0410-b94d-b575c5fd34c7
2014-02-25- ms_bmask(): made mode_type an unsigned int typemichael
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@3043 82007160-df01-0410-b94d-b575c5fd34c7
2014-02-25- channel_mode.c: replaced several sprintf() with snprintf()michael
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@3030 82007160-df01-0410-b94d-b575c5fd34c7
2014-01-26- channel_mode.c: fixed compile error with halfops enabledmichael
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2952 82007160-df01-0410-b94d-b575c5fd34c7
2014-01-26- channel_mode.c, channel.c: removed unused header includemichael
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2944 82007160-df01-0410-b94d-b575c5fd34c7
2014-01-26- channel_mode.c:get_channel_access(): constificationmichael
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2942 82007160-df01-0410-b94d-b575c5fd34c7
2014-01-26- channel_mode.c: minor optimizations to set_channel_mode()michael
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2940 82007160-df01-0410-b94d-b575c5fd34c7
2014-01-26- Clean up stupid pointer magic passed to the channel mode handlers.michael
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2938 82007160-df01-0410-b94d-b575c5fd34c7
2014-01-25- Clean up all files in src/ (fixed indentation, removed whitespaces/tabs)michael
- Fixed copyright years git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2917 82007160-df01-0410-b94d-b575c5fd34c7
2014-01-21- channel_mode.c: fixed indentation, removed whitespaces/tabs,michael
removed unused header includes git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2893 82007160-df01-0410-b94d-b575c5fd34c7
2013-12-18- channel_mode.c:set_channel_mode(): removed legacy code which has beenmichael
introduced in rev 7.66(CVS) / Sat Dec 14 04:08:38 2002 git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2696 82007160-df01-0410-b94d-b575c5fd34c7
2013-11-17- src/channel_mode.c: fixed small buglet in send_mode_changes() with servermichael
hiding enabled. Reported by Adam <adam@anope.org> git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2558 82007160-df01-0410-b94d-b575c5fd34c7
2013-11-09- channel_mode.c: fixed warnings with clangmichael
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2533 82007160-df01-0410-b94d-b575c5fd34c7
2013-10-13- find_person(): fixed naming conventionmichael
- find_chasing(): reduced required arguments git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2476 82007160-df01-0410-b94d-b575c5fd34c7
2013-06-19- Rename Ban::username structure member to Ban::usermichael
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2295 82007160-df01-0410-b94d-b575c5fd34c7
2013-06-15- channel_mode.c:add_id(): don't leak server names of servers that are hidden.michael
Patch provided by Adam <adam@anope.org> git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2243 82007160-df01-0410-b94d-b575c5fd34c7
2013-05-06- Implemented channel mode +M. Clients that haven't identified theirmichael
name with NickServ may not speak in a channel that has this mode set git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@1956 82007160-df01-0410-b94d-b575c5fd34c7
2013-05-04- Implemented channel mode +c. Known from other ircds, this mode basicallymichael
prevents users from sending messages including control codes to a channel that has this mode set git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@1938 82007160-df01-0410-b94d-b575c5fd34c7
2013-04-19- Revert to -r1831michael
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/trunk@1834 82007160-df01-0410-b94d-b575c5fd34c7
2013-04-19- Made all numeric defines use the actual string instead of the numeric valuemichael
which allows to use gcc's printf format attribute - Remove current message locale implementation git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/trunk@1832 82007160-df01-0410-b94d-b575c5fd34c7
2013-03-31- Replaced all occurrences of ircsprintf with sprintf/snprintfmichael
and killed sprintf_irc.(c|h) git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/trunk@1793 82007160-df01-0410-b94d-b575c5fd34c7
2013-01-19- Forward-port -r1771 [channel_mode.c: check_string() didn't work right in casemichael
string started with a space. (i.e., "MODE #chan +b : c" results in a weird ban mask) Bug got introduced in ircd-hybrid-5/channel.c, Revision 1.26 git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/trunk@1772 82007160-df01-0410-b94d-b575c5fd34c7
2012-12-18- channel_mode.c: chm_invex, chm_exempt: ban and invite exemptions aremichael
now always sent regardless of CAP_IE/CAP_EX git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/trunk@1684 82007160-df01-0410-b94d-b575c5fd34c7
2012-11-16- Implemented memory pool allocator which basically is taken from Tor'smichael
mempool allocator for Tor cells - Fixed compile warnings in conf_class.c - ./configure --enable-assert works again git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/trunk@1654 82007160-df01-0410-b94d-b575c5fd34c7
2012-11-07- First pass of conf parser stabilization/cleanupmichael
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/trunk@1646 82007160-df01-0410-b94d-b575c5fd34c7
2012-11-04- Initial rewrite of the configuration subsystemmichael
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/trunk@1632 82007160-df01-0410-b94d-b575c5fd34c7
2012-10-30- Made m_globops() and ms_globops() use sendto_realops_flags()michael
- Added message-type parameter to sendto_realops_flags() which can be one of SEND_NOTICE, SEND_GLOBAL, SEND_LOCOPS - Forward-port -r1617 git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/trunk@1618 82007160-df01-0410-b94d-b575c5fd34c7
2012-10-27- Second time's the charm? Moving svnroot/ircd-hybrid-8 tomichael
svnroot/ircd-hybrid/trunk git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/trunk@1592 82007160-df01-0410-b94d-b575c5fd34c7