ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/trunk/src/channel_mode.c
Revision 3159 - (view) (annotate) - [select for diffs]
Modified Sat Mar 15 16:28:33 2014 UTC (10 years ago) by michael
File length: 46210 byte(s)
Diff to previous 3158
- Fixed now outdated comments

Revision 3158 - (view) (annotate) - [select for diffs]
Modified Fri Mar 14 20:30:06 2014 UTC (10 years ago) by michael
File length: 46435 byte(s)
Diff to previous 3153
- channel_mode.c:chm_voice, chm_hop, chm_op: removed useless IsClient() test

Revision 3153 - (view) (annotate) - [select for diffs]
Modified Fri Mar 14 15:39:21 2014 UTC (10 years ago) by michael
File length: 46552 byte(s)
Diff to previous 3151
- channel_mode.c:chm_limit(): instead of passing an empty buffer to atoi()
  we just bail out

Revision 3151 - (view) (annotate) - [select for diffs]
Modified Fri Mar 14 14:24:09 2014 UTC (10 years ago) by michael
File length: 46527 byte(s)
Diff to previous 3150
- channel_mode.c: style corrections

Revision 3150 - (view) (annotate) - [select for diffs]
Modified Fri Mar 14 14:11:34 2014 UTC (10 years ago) by michael
File length: 47579 byte(s)
Diff to previous 3149
- Removed unused client_p pointer from all chm_* channel mode handlers

Revision 3149 - (view) (annotate) - [select for diffs]
Modified Fri Mar 14 12:38:27 2014 UTC (10 years ago) by michael
File length: 48026 byte(s)
Diff to previous 3144
- channel_mode.c: style corrections here and there

Revision 3144 - (view) (annotate) - [select for diffs]
Modified Wed Mar 12 20:02:20 2014 UTC (10 years ago) by michael
File length: 48008 byte(s)
Diff to previous 3143
- removed unused variables

Revision 3143 - (view) (annotate) - [select for diffs]
Modified Wed Mar 12 19:56:58 2014 UTC (10 years ago) by michael
File length: 48024 byte(s)
Diff to previous 3142
- channel_mode.c:chm_op, ch_hop, chm_voice: renamed 'targ_p' to 'target_p'

Revision 3142 - (view) (annotate) - [select for diffs]
Modified Wed Mar 12 19:38:36 2014 UTC (10 years ago) by michael
File length: 47982 byte(s)
Diff to previous 3141
- channel_mode.c: removed unused defines

Revision 3141 - (view) (annotate) - [select for diffs]
Modified Wed Mar 12 19:35:27 2014 UTC (10 years ago) by michael
File length: 48083 byte(s)
Diff to previous 3140
- channel_mode.c: fixed buglet in send_mode_changes_server()

Revision 3140 - (view) (annotate) - [select for diffs]
Modified Wed Mar 12 19:23:20 2014 UTC (10 years ago) by michael
File length: 47960 byte(s)
Diff to previous 3136
- Get rid of halfop -> op rewriting for servers that don't support halfops

Revision 3136 - (view) (annotate) - [select for diffs]
Modified Tue Mar 11 18:24:03 2014 UTC (10 years ago) by michael
File length: 53405 byte(s)
Diff to previous 3135
- Various fixes to previous ts5 removal changes

Revision 3135 - (view) (annotate) - [select for diffs]
Modified Mon Mar 10 21:11:25 2014 UTC (10 years ago) by michael
File length: 53748 byte(s)
Diff to previous 3109
- Server now no longer accepts TS5 links

Revision 3109 - (view) (annotate) - [select for diffs]
Modified Thu Mar 6 19:25:12 2014 UTC (10 years ago) by michael
File length: 54229 byte(s)
Diff to previous 3057
- Applied Adam's sendto_one_numeric() changes

Revision 3057 - (view) (annotate) - [select for diffs]
Modified Wed Feb 26 19:33:54 2014 UTC (10 years, 1 month ago) by michael
File length: 54955 byte(s)
Diff to previous 3051
- channel_mode.c: made mode_count, mode_limit, simple_modes_mask unsigned int types

Revision 3051 - (view) (annotate) - [select for diffs]
Modified Wed Feb 26 16:50:14 2014 UTC (10 years, 1 month ago) by michael
File length: 54874 byte(s)
Diff to previous 3049
- channel_mode.c:send_cap_mode_changes(): fixed bug where MODE is used when
  it should use TMODE

Revision 3049 - (view) (annotate) - [select for diffs]
Modified Tue Feb 25 22:35:11 2014 UTC (10 years, 1 month ago) by michael
File length: 54836 byte(s)
Diff to previous 3044
- channel_mode.c: removed CAP_IE and CAP_EX from channel_capabs[]

Revision 3044 - (view) (annotate) - [select for diffs]
Modified Tue Feb 25 21:10:46 2014 UTC (10 years, 1 month ago) by michael
File length: 54868 byte(s)
Diff to previous 3029
- ms_bmask(): made mode_type an unsigned int type

Revision 3029 - (view) (annotate) - [select for diffs]
Modified Tue Feb 25 10:55:08 2014 UTC (10 years, 1 month ago) by michael
File length: 54850 byte(s)
Diff to previous 2951
- channel_mode.c: replaced several sprintf() with snprintf()

Revision 2951 - (view) (annotate) - [select for diffs]
Modified Sun Jan 26 20:15:59 2014 UTC (10 years, 2 months ago) by michael
File length: 54696 byte(s)
Diff to previous 2943
- channel_mode.c: fixed compile error with halfops enabled

Revision 2943 - (view) (annotate) - [select for diffs]
Modified Sun Jan 26 15:42:53 2014 UTC (10 years, 2 months ago) by michael
File length: 54696 byte(s)
Diff to previous 2941
- channel_mode.c, channel.c: removed unused header include

Revision 2941 - (view) (annotate) - [select for diffs]
Modified Sun Jan 26 12:54:13 2014 UTC (10 years, 2 months ago) by michael
File length: 54716 byte(s)
Diff to previous 2939
- channel_mode.c:get_channel_access(): constification

Revision 2939 - (view) (annotate) - [select for diffs]
Modified Sun Jan 26 12:51:50 2014 UTC (10 years, 2 months ago) by michael
File length: 54685 byte(s)
Diff to previous 2937
- channel_mode.c: minor optimizations to set_channel_mode()

Revision 2937 - (view) (annotate) - [select for diffs]
Modified Sun Jan 26 12:15:55 2014 UTC (10 years, 2 months ago) by michael
File length: 48396 byte(s)
Diff to previous 2916
- Clean up stupid pointer magic passed to the channel mode handlers.

Revision 2916 - (view) (annotate) - [select for diffs]
Modified Sat Jan 25 21:09:18 2014 UTC (10 years, 2 months ago) by michael
File length: 48975 byte(s)
Diff to previous 2892
- Clean up all files in include/ (fixed indentation, removed whitespaces/tabs)
- Fixed copyright years

Revision 2892 - (view) (annotate) - [select for diffs]
Modified Tue Jan 21 18:30:02 2014 UTC (10 years, 2 months ago) by michael
File length: 48952 byte(s)
Diff to previous 2697
- channel_mode.c: fixed indentation, removed whitespaces/tabs,
  removed unused header includes

Revision 2697 - (view) (annotate) - [select for diffs]
Modified Wed Dec 18 12:12:26 2013 UTC (10 years, 3 months ago) by michael
File length: 51638 byte(s)
Diff to previous 2557
- channel_mode.c:set_channel_mode(): removed legacy code which has been
  introduced in rev 7.66(CVS) / Sat Dec 14 04:08:38 2002

Revision 2557 - (view) (annotate) - [select for diffs]
Modified Sun Nov 17 15:27:07 2013 UTC (10 years, 4 months ago) by michael
File length: 51688 byte(s)
Diff to previous 2534
- src/channel_mode.c: fixed small buglet in send_mode_changes() with server
  hiding enabled. Reported by Adam <adam@anope.org>

Revision 2534 - (view) (annotate) - [select for diffs]
Modified Sat Nov 9 20:59:51 2013 UTC (10 years, 4 months ago) by michael
File length: 51571 byte(s)
Diff to previous 2475
- channel_mode.c: fixed warnings with clang

Revision 2475 - (view) (annotate) - [select for diffs]
Modified Fri Oct 11 19:40:43 2013 UTC (10 years, 5 months ago) by michael
File length: 51583 byte(s)
Diff to previous 2296
- find_person(): fixed naming convention
- find_chasing(): reduced required arguments

Revision 2296 - (view) (annotate) - [select for diffs]
Modified Wed Jun 19 11:19:22 2013 UTC (10 years, 9 months ago) by michael
File length: 51613 byte(s)
Diff to previous 2242
- Rename Ban::username structure member to Ban::user

Revision 2242 - (view) (annotate) - [select for diffs]
Modified Sat Jun 15 21:00:43 2013 UTC (10 years, 9 months ago) by michael
File length: 51640 byte(s)
Diff to previous 1954
- channel_mode.c:add_id(): don't leak server names of servers that are hidden.
  Patch provided by Adam <adam@anope.org>

Revision 1954 - (view) (annotate) - [select for diffs]
Modified Mon May 6 18:51:19 2013 UTC (10 years, 10 months ago) by michael
File length: 51517 byte(s)
Diff to previous 1937
- Implemented channel mode +M. Clients that haven't identified their
  name with NickServ may not speak in a channel that has this mode set

Revision 1937 - (view) (annotate) - [select for diffs]
Modified Sat May 4 20:54:13 2013 UTC (10 years, 10 months ago) by michael
File length: 51489 byte(s)
Diff to previous 1834
-  Implemented channel mode +c. Known from other ircds, this mode basically
   prevents users from sending messages including control codes to a channel
   that has this mode set

Revision 1834 - (view) (annotate) - [select for diffs]
Modified Fri Apr 19 19:50:27 2013 UTC (10 years, 11 months ago) by michael
File length: 51461 byte(s)
Diff to previous 1832
- Revert to -r1831

Revision 1832 - (view) (annotate) - [select for diffs]
Modified Fri Apr 19 19:16:09 2013 UTC (10 years, 11 months ago) by michael
File length: 51221 byte(s)
Diff to previous 1793
- Made all numeric defines use the actual string instead of the numeric value
  which allows to use gcc's printf format attribute
- Remove current message locale implementation

Revision 1793 - (view) (annotate) - [select for diffs]
Modified Sun Mar 31 14:06:08 2013 UTC (10 years, 11 months ago) by michael
File length: 51461 byte(s)
Diff to previous 1772
- Replaced all occurrences of ircsprintf with sprintf/snprintf
  and killed sprintf_irc.(c|h)

Revision 1772 - (view) (annotate) - [select for diffs]
Modified Sat Jan 19 23:16:05 2013 UTC (11 years, 2 months ago) by michael
File length: 51524 byte(s)
Diff to previous 1684
- Forward-port -r1771 [channel_mode.c: check_string() didn't work right in case
  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

Revision 1684 - (view) (annotate) - [select for diffs]
Modified Tue Dec 18 19:34:41 2012 UTC (11 years, 3 months ago) by michael
File length: 51572 byte(s)
Diff to previous 1654
- channel_mode.c: chm_invex, chm_exempt: ban and invite exemptions are
  now always sent regardless of CAP_IE/CAP_EX

Revision 1654 - (view) (annotate) - [select for diffs]
Modified Fri Nov 16 19:39:37 2012 UTC (11 years, 4 months ago) by michael
File length: 51582 byte(s)
Diff to previous 1646
- Implemented memory pool allocator which basically is taken from Tor's
  mempool allocator for Tor cells
- Fixed compile warnings in conf_class.c
- ./configure --enable-assert works again

Revision 1646 - (view) (annotate) - [select for diffs]
Modified Wed Nov 7 21:02:43 2012 UTC (11 years, 4 months ago) by michael
File length: 51549 byte(s)
Diff to previous 1632
- First pass of conf parser stabilization/cleanup

Revision 1632 - (view) (annotate) - [select for diffs]
Modified Sun Nov 4 15:37:10 2012 UTC (11 years, 4 months ago) by michael
File length: 51554 byte(s)
Diff to previous 1618
- Initial rewrite of the configuration subsystem

Revision 1618 - (view) (annotate) - [select for diffs]
Modified Tue Oct 30 21:04:38 2012 UTC (11 years, 4 months ago) by michael
File length: 51603 byte(s)
Diff to previous 1592
- Made m_globops() and ms_globops() use sendto_realops_flags()
- Added message-type parameter to sendto_realops_flags() which can be one of
  SEND_NOTICE, SEND_GLOBAL, SEND_LOCOPS
- Forward-port -r1617

Revision 1592 - (view) (annotate) - [select for diffs]
Modified Sat Oct 27 21:02:32 2012 UTC (11 years, 5 months ago) by michael
File length: 51590 byte(s)
Diff to previous 1495
- Second time's the charm? Moving svnroot/ircd-hybrid-8 to
  svnroot/ircd-hybrid/trunk

Revision 1495 - (view) (annotate) - [select for diffs]
Modified Sun Aug 5 09:35:42 2012 UTC (11 years, 7 months ago) by michael
Original Path: ircd-hybrid-8/src/channel_mode.c
File length: 51590 byte(s)
Diff to previous 1474
- Removed use_invex, use_except and use_knock configuration options.
  These features are now enabled by default

Revision 1474 - (view) (annotate) - [select for diffs]
Modified Sun Jul 22 14:44:07 2012 UTC (11 years, 8 months ago) by michael
Original Path: ircd-hybrid-8/src/channel_mode.c
File length: 52515 byte(s)
Diff to previous 1431
- removed &localchannels

Revision 1431 - (view) (annotate) - [select for diffs]
Modified Sat Jun 9 19:15:10 2012 UTC (11 years, 9 months ago) by michael
Original Path: ircd-hybrid-8/src/channel_mode.c
File length: 52529 byte(s)
Diff to previous 1309
- NICKLEN definition no longer respects the trailing NUL character
  (reverts to old behavior)

Revision 1309 - (view) (annotate) - [select for diffs]
Modified Sun Mar 25 11:24:18 2012 UTC (12 years ago) by michael
Original Path: ircd-hybrid-8/src/channel_mode.c
File length: 52521 byte(s)
Diff to previous 1243
- renaming files:

  ircd_parser.y -> conf_parser.y
  ircd_lexer.l  -> conf_lexer.l
  s_conf.c      -> conf.c
  s_conf.h      -> conf.h
  s_log.c       -> log.c
  s_log.h       -> log.h

Revision 1243 - (view) (annotate) - [select for diffs]
Modified Fri Sep 30 10:47:53 2011 UTC (12 years, 6 months ago) by michael
Original Path: ircd-hybrid-8/src/channel_mode.c
File length: 52525 byte(s)
Diff to previous 1219
- move content of msg.h, ircd_handler.h and handlers.h into parse.h and
  remove headers accordingly
- killed common.h
- remove m_killhost.c and m_flags.c from contrib/
- sort out unused header includes here and there

Revision 1219 - (view) (annotate) - [select for diffs]
Modified Sun Sep 18 09:02:38 2011 UTC (12 years, 6 months ago) by michael
Original Path: ircd-hybrid-8/src/channel_mode.c
File length: 52545 byte(s)
Diff to previous 1175
- Start cleaning up macros in client.h. Replace several ClientHasSomeCoolFlag()
with simple HasFlag/HasUMode macros.

Revision 1175 - (view) (annotate) - [select for diffs]
Modified Sun Aug 14 10:47:48 2011 UTC (12 years, 7 months ago) by michael
Original Path: ircd-hybrid-8/src/channel_mode.c
File length: 52492 byte(s)
Diff to previous 1167
- several fixes to services compatibility mode

Revision 1167 - (view) (annotate) - [select for diffs]
Modified Thu Aug 11 20:13:38 2011 UTC (12 years, 7 months ago) by michael
Original Path: ircd-hybrid-8/src/channel_mode.c
File length: 52505 byte(s)
Diff to previous 1156
- Improve services support
- Add channelmode +r

Revision 1156 - (view) (annotate) - [select for diffs]
Modified Tue Aug 9 20:29:20 2011 UTC (12 years, 7 months ago) by michael
Original Path: ircd-hybrid-8/src/channel_mode.c
File length: 50310 byte(s)
Diff to previous 1155
- create ircd-hybrid-8 "branch"

Revision 1155 - (view) (annotate) - [select for diffs]
Modified Tue Aug 9 20:27:45 2011 UTC (12 years, 7 months ago) by michael
Original Path: ircd-hybrid/src/channel_mode.c
File length: 50310 byte(s)
Diff to previous 1150
- recreate "trunk"

Revision 1150 - (view) (annotate) - [select for diffs]
Modified Wed Aug 3 01:09:49 2011 UTC (12 years, 7 months ago) by michael
Original Path: ircd-hybrid-7.3/src/channel_mode.c
File length: 50310 byte(s)
Diff to previous 1029
- add new channel modes O and S

Revision 1029 - (view) (annotate) - [select for diffs]
Modified Sun Nov 8 13:10:50 2009 UTC (14 years, 4 months ago) by michael
Original Path: ircd-hybrid-7.3/src/channel_mode.c
File length: 48360 byte(s)
Diff to previous 1028
- branch off trunk to create 7.3 branch
Revision 1028 - (view) (annotate) - [select for diffs]
Modified Sun Nov 8 13:03:38 2009 UTC (14 years, 4 months ago) by michael
Original Path: ircd-hybrid/src/channel_mode.c
File length: 48360 byte(s)
Diff to previous 1015
- move ircd-hybrid-7.2 to trunk

Revision 1015 - (view) (annotate) - [select for diffs]
Modified Sun Oct 25 00:08:06 2009 UTC (14 years, 5 months ago) by michael
Original Path: ircd-hybrid-7.2/src/channel_mode.c
File length: 48360 byte(s)
Diff to previous 1011
- fixed broken cryptlinks as reported by henri
- removed deprecated inet_misc.c
- removed __attribute__ format, which sometimes really is usefull, even if
  unportable unless gcc, but for now they only give false warnings

Revision 1011 - (view) (annotate) - [select for diffs]
Modified Fri Sep 18 10:14:09 2009 UTC (14 years, 6 months ago) by michael
Original Path: ircd-hybrid-7.2/src/channel_mode.c
File length: 48324 byte(s)
Diff to previous 931
- move list manipulation routines from tools.c to list.c
- mem_frob() goes to memory.c
- sort out redundant/unneeded header includes

Revision 931 - (view) (annotate) - [select for diffs]
Modified Fri May 30 04:05:57 2008 UTC (15 years, 10 months ago) by db
Original Path: ircd-hybrid-7.2/src/channel_mode.c
File length: 48343 byte(s)
Diff to previous 885
- bug fix by caf <kevin@sylandro.com>


Revision 885 - (view) (annotate) - [select for diffs]
Modified Wed Oct 31 18:09:24 2007 UTC (16 years, 5 months ago) by michael
Original Path: ircd-hybrid-7.2/src/channel_mode.c
File length: 48316 byte(s)
Diff to previous 760
- Removed LazyLinks in 7.2 to stop people from asking why we keep
  broken code for half a decade. LL will be implemented in a smarter
  fashion in due time

Revision 760 - (view) (annotate) - [select for diffs]
Modified Fri Aug 18 19:33:26 2006 UTC (17 years, 7 months ago) by michael
Original Path: ircd-hybrid-7.2/src/channel_mode.c
File length: 48371 byte(s)
Diff to previous 759
- Fixed compile error

Revision 759 - (view) (annotate) - [select for diffs]
Modified Fri Aug 18 14:29:45 2006 UTC (17 years, 7 months ago) by michael
Original Path: ircd-hybrid-7.2/src/channel_mode.c
File length: 48372 byte(s)
Diff to previous 593
- Fixed ban cache as reported by ThaPrince

Revision 593 - (view) (annotate) - [select for diffs]
Modified Fri May 12 05:47:32 2006 UTC (17 years, 10 months ago) by michael
Original Path: ircd-hybrid-7.2/src/channel_mode.c
File length: 48138 byte(s)
Diff to previous 572
- Backported RKLINE fix so the user and host portion of a banmask don't get
  cut off after 10 and 63 chars, respectively.
  A split_nuh() rewrite was required for this.
- Removed now unused xstrldup() function

Revision 572 - (view) (annotate) - [select for diffs]
Modified Sun Apr 30 16:57:48 2006 UTC (17 years, 11 months ago) by michael
Original Path: ircd-hybrid-7.2/src/channel_mode.c
File length: 47894 byte(s)
Diff to previous 388
- Backported changes made in HEAD to get rid of Channel::locmembers.
  This is mainly to save about 5megs of ram on networks like efnet where
  we have about 600k allocated Membership structures.

Revision 388 - (view) (annotate) - [select for diffs]
Modified Wed Feb 1 12:51:45 2006 UTC (18 years, 1 month ago) by michael
Original Path: ircd-hybrid-7.2/src/channel_mode.c
File length: 47861 byte(s)
Diff to previous 371
- Forward-port banfix from 7.2 (reported by ThaPrince)

Revision 371 - (view) (annotate) - [select for diffs]
Modified Tue Jan 10 10:45:48 2006 UTC (18 years, 2 months ago) by michael
Original Path: ircd-hybrid-7.2/src/channel_mode.c
File length: 47606 byte(s)
Diff to previous 356
- Imported recent channelban changes from HEAD which have been tested extensively.
  The match_cidr() fix didn't work in the first try, so I'm not going to bother
  with further debugging.
- Removed match_cidr() and comp_with_mask()

Revision 356 - (view) (annotate) - [select for diffs]
Modified Mon Jan 2 22:05:15 2006 UTC (18 years, 2 months ago) by adx
Original Path: ircd-hybrid-7.2/src/channel_mode.c
File length: 47507 byte(s)
Diff to previous 34
+ MFC support for halfop->op rewriting.

Revision 34 - (view) (annotate) - [select for diffs]
Modified Sun Oct 2 21:05:51 2005 UTC (18 years, 5 months ago) by lusky
Original Path: ircd-hybrid-7.2/src/channel_mode.c
File length: 46293 byte(s)
Diff to previous 33
create 7.2 branch, we can move/rename it as needed.


Revision 33 - (view) (annotate) - [select for diffs]
Modified Sun Oct 2 20:50:00 2005 UTC (18 years, 5 months ago) by knight
Original Path: ircd-hybrid/src/channel_mode.c
File length: 46293 byte(s)
Diff to previous 32
- svn:keywords

Revision 32 - (view) (annotate) - [select for diffs]
Modified Sun Oct 2 20:41:23 2005 UTC (18 years, 5 months ago) by knight
Original Path: ircd-hybrid/src/channel_mode.c
File length: 46293 byte(s)
Diff to previous 31
- svn:keywords

Revision 31 - (view) (annotate) - [select for diffs]
Modified Sun Oct 2 20:34:05 2005 UTC (18 years, 5 months ago) by knight
Original Path: ircd-hybrid/src/channel_mode.c
File length: 46293 byte(s)
Diff to previous 30
- Fix svn:keywords

Revision 30 - (view) (annotate) - [select for diffs]
Added Sun Oct 2 20:03:27 2005 UTC (18 years, 5 months ago) by adx
Original Path: ircd-hybrid/src/channel_mode.c
File length: 46350 byte(s)
- imported sources
- can be moved later according to the directory/branching scheme,
  but we need the svn up

Convenience Links

Links to HEAD: (view) (annotate)

Compare Revisions

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a