ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/branches/8.2.x/modules/m_svsnick.c
Revision 9562 - (view) (annotate) - [select for diffs]
Modified Sat Aug 8 13:18:53 2020 UTC (3 years, 7 months ago) by michael
File length: 5065 byte(s)
Diff to previous 9559 , to selected 3186
- m_svsnick.c: actually use 'new_nick' instead of parv[3] which can be a timestamp

Revision 9559 - (view) (annotate) - [select for diffs]
Modified Sat Aug 8 13:14:01 2020 UTC (3 years, 7 months ago) by michael
File length: 5064 byte(s)
Diff to previous 9373 , to selected 3186
- m_svsnick.c: always send the 5 arg SVSNICK to other servers

Revision 9373 - (view) (annotate) - [select for diffs]
Modified Sat May 9 20:54:26 2020 UTC (3 years, 10 months ago) by michael
File length: 5057 byte(s)
Diff to previous 9275 , to selected 3186
- Each type of command handler now has its own min/max argument count pair;  remove remaining argument checks from all modules

Revision 9275 - (view) (annotate) - [select for diffs]
Modified Wed Feb 12 18:46:44 2020 UTC (4 years, 1 month ago) by michael
File length: 5001 byte(s)
Diff to previous 9273 , to selected 3186
- Reduce size of some user mode relevant buffers from IRCD_BUFSIZE (512) to UMODE_MAX_STR (56)

Revision 9273 - (view) (annotate) - [select for diffs]
Modified Wed Feb 12 18:42:19 2020 UTC (4 years, 1 month ago) by michael
File length: 5000 byte(s)
Diff to previous 9233 , to selected 3186
- Stylistic changes to m_svsmode.c & m_svsnick.c

Revision 9233 - (view) (annotate) - [select for diffs]
Modified Fri Jan 31 17:31:08 2020 UTC (4 years, 1 month ago) by michael
File length: 5010 byte(s)
Diff to previous 9102 , to selected 3186
- Extbans have been implemented. Main implementation done by Adam for p4.
  Currently supported extbans:

  Matching:

   $a:<account>   Matches users logged into a matching account.
   $c:<channel>   Matches users that are on the given channel. An additional
                  prefix of either @, %, or + can be specified to test for
                  certain channel privileges.
   $o:<class>     Matches IRC operators that have joined a class
                  matching the mask.
   $r:<realname>  Matches users with a matching realname.
   $s:<server>    Matches users that are connected to a server matching the mask.
   $u:<modes>     Matches users having the specified user modes set or not set.
   $z:<certfp>    Matches users having the given TLS certificate fingerprint.

  Acting:

   $j:<banmask>   Prevents matching users from joining the channel.
   $m:<banmask>   Blocks messages from matching users. Users with voice
                  or above are not affected.

Revision 9102 - (view) (annotate) - [select for diffs]
Modified Wed Jan 1 09:58:57 2020 UTC (4 years, 2 months ago) by michael
File length: 4989 byte(s)
Diff to previous 9078 , to selected 3186
- Bump copyright years everywhere

Revision 9078 - (view) (annotate) - [select for diffs]
Modified Sat Oct 12 20:15:30 2019 UTC (4 years, 5 months ago) by michael
File length: 4989 byte(s)
Diff to previous 8751 , to selected 3186
- Command handlers are now of type void again

Revision 8751 - (view) (annotate) - [select for diffs]
Modified Tue Jan 1 11:06:50 2019 UTC (5 years, 2 months ago) by michael
File length: 5016 byte(s)
Diff to previous 8687 , to selected 3186
- Update copyright years

Revision 8687 - (view) (annotate) - [select for diffs]
Modified Sun Dec 2 12:46:02 2018 UTC (5 years, 3 months ago) by michael
File length: 5016 byte(s)
Diff to previous 8663 , to selected 3186
- More bool conversion. This should be everything now.

Revision 8663 - (view) (annotate) - [select for diffs]
Modified Thu Nov 22 14:25:57 2018 UTC (5 years, 4 months ago) by michael
File length: 5013 byte(s)
Diff to previous 8659 , to selected 3186
- Make use of bool even more

Revision 8659 - (view) (annotate) - [select for diffs]
Modified Sun Nov 18 12:53:34 2018 UTC (5 years, 4 months ago) by michael
File length: 5010 byte(s)
Diff to previous 8657 , to selected 3186
- Make use of the bool data type in some more places

Revision 8657 - (view) (annotate) - [select for diffs]
Modified Mon Nov 12 19:02:38 2018 UTC (5 years, 4 months ago) by michael
File length: 5007 byte(s)
Diff to previous 8604 , to selected 3186
- Make use of the bool data type in some more places

Revision 8604 - (view) (annotate) - [select for diffs]
Modified Sun Oct 28 19:44:00 2018 UTC (5 years, 5 months ago) by michael
File length: 5000 byte(s)
Diff to previous 8338 , to selected 3186
- Fixed style inconsistencies in various places

Revision 8338 - (view) (annotate) - [select for diffs]
Modified Sat Mar 3 22:26:59 2018 UTC (6 years ago) by michael
File length: 4992 byte(s)
Diff to previous 8280 , to selected 3186
- Restore fd_table. No longer allocate fde_t items from within any other structures like the AuthRequest, or Connection structure
- struct AuthRequest once again is no longer allocated from within the Connection structure

Revision 8280 - (view) (annotate) - [select for diffs]
Modified Tue Feb 20 19:30:33 2018 UTC (6 years, 1 month ago) by michael
File length: 4993 byte(s)
Diff to previous 8058 , to selected 3186
- Update copyright years

Revision 8058 - (view) (annotate) - [select for diffs]
Modified Thu Mar 23 16:13:10 2017 UTC (7 years ago) by michael
File length: 4993 byte(s)
Diff to previous 7996 , to selected 3186
- Fixed style inconsistencies in various places

Revision 7996 - (view) (annotate) - [select for diffs]
Modified Tue Mar 14 13:17:39 2017 UTC (7 years ago) by michael
File length: 4992 byte(s)
Diff to previous 7925 , to selected 3186
- Rename get_client_name() to client_get_name()

Revision 7925 - (view) (annotate) - [select for diffs]
Modified Sat Dec 31 13:57:24 2016 UTC (7 years, 2 months ago) by michael
File length: 4992 byte(s)
Diff to previous 7857 , to selected 3186
- Update copyright years

Revision 7857 - (view) (annotate) - [select for diffs]
Modified Sun Nov 6 21:26:59 2016 UTC (7 years, 4 months ago) by michael
File length: 4992 byte(s)
Diff to previous 7854 , to selected 3186
- m_svsnick.c: fixed spelling

Revision 7854 - (view) (annotate) - [select for diffs]
Modified Sun Nov 6 20:57:44 2016 UTC (7 years, 4 months ago) by michael
File length: 4993 byte(s)
Diff to previous 7763 , to selected 3186
- m_svsnick.c: add source ts support

Revision 7763 - (view) (annotate) - [select for diffs]
Modified Thu Oct 6 16:59:51 2016 UTC (7 years, 5 months ago) by michael
File length: 4519 byte(s)
Diff to previous 7598 , to selected 3186
- Get rid of clear_ban_cache_channel() and clear_ban_cache_client(). Use clear_ban_cache_list() instead.

Revision 7598 - (view) (annotate) - [select for diffs]
Modified Mon Jun 13 18:55:15 2016 UTC (7 years, 9 months ago) by michael
File length: 4511 byte(s)
Diff to previous 7468 , to selected 3186
- Minor cleanup to send_umode() to get rid of the redundant struct Client * pointer

Revision 7468 - (view) (annotate) - [select for diffs]
Modified Sat Mar 12 19:06:56 2016 UTC (8 years ago) by michael
File length: 4518 byte(s)
Diff to previous 7329 , to selected 3186
- m_svsnick.c:ms_svsnick(): split up if statement

Revision 7329 - (view) (annotate) - [select for diffs]
Modified Thu Feb 18 21:07:50 2016 UTC (8 years, 1 month ago) by michael
File length: 4499 byte(s)
Diff to previous 7007 , to selected 3186
- Now that we got time_t to work nicely on openbsd with snprintf's conversion specifiers,
  we ran into a similiar issue on Raspbian/ARMv7's time_t which is of signed 32 bit and
  doesn't cope at all with %j. Instead of doing tricks, get rid of time_t everywhere and
  forever and use uintmax_t instead which has at least a 'standardized' conversion specifier
  associated with it.

Revision 7007 - (view) (annotate) - [select for diffs]
Modified Fri Jan 1 00:09:08 2016 UTC (8 years, 2 months ago) by michael
File length: 4499 byte(s)
Diff to previous 6901 , to selected 3186
- Update copyright years

Revision 6901 - (view) (annotate) - [select for diffs]
Modified Thu Dec 3 21:44:52 2015 UTC (8 years, 3 months ago) by michael
File length: 4499 byte(s)
Diff to previous 6781 , to selected 3186
- Replaced a rather strange mixture of atoi(), atol(), and strtoul() with strtoimax(). ircd-hybrid should be 2038-safe now

Revision 6781 - (view) (annotate) - [select for diffs]
Modified Sun Nov 15 18:45:53 2015 UTC (8 years, 4 months ago) by michael
File length: 4484 byte(s)
Diff to previous 6775 , to selected 3186
- Use the %ju conversion specifier for time_t and get rid of these non-portable (unsigned long) casts; replace some uint64_t with uintmax_t

Revision 6775 - (view) (annotate) - [select for diffs]
Modified Fri Nov 13 20:22:58 2015 UTC (8 years, 4 months ago) by michael
File length: 4499 byte(s)
Diff to previous 6634 , to selected 3186
- Implement ircv3.2 chghost client capability support

Revision 6634 - (view) (annotate) - [select for diffs]
Modified Sat Oct 24 15:16:18 2015 UTC (8 years, 5 months ago) by michael
File length: 4496 byte(s)
Diff to previous 5880 , to selected 3186
- Use client->name when updating the fd's associated name record with fd_note()

Revision 5880 - (view) (annotate) - [select for diffs]
Modified Sun May 3 16:01:42 2015 UTC (8 years, 10 months ago) by michael
File length: 4489 byte(s)
Diff to previous 5863 , to selected 3186
- Use C99-style initializers in all struct Message items
- Removed MFLG_SLOW
- Removed DUMMY_HANDLER

Revision 5863 - (view) (annotate) - [select for diffs]
Modified Tue Apr 28 12:23:14 2015 UTC (8 years, 11 months ago) by michael
File length: 4343 byte(s)
Diff to previous 5547 , to selected 3186
- Removed useless zero initializers from the module_entry as suggested by Adam

Revision 5547 - (view) (annotate) - [select for diffs]
Modified Thu Feb 12 14:25:58 2015 UTC (9 years, 1 month ago) by michael
File length: 4431 byte(s)
Diff to previous 5346 , to selected 3186
- m_mode.c, m_svsmode.c, m_svsnick.c: const correctness

Revision 5346 - (view) (annotate) - [select for diffs]
Modified Sun Jan 11 12:41:14 2015 UTC (9 years, 2 months ago) by michael
File length: 4425 byte(s)
Diff to previous 5015 , to selected 3186
- Update copyright years

Revision 5015 - (view) (annotate) - [select for diffs]
Modified Tue Dec 9 17:53:37 2014 UTC (9 years, 3 months ago) by michael
File length: 4425 byte(s)
Diff to previous 4963 , to selected 3186
- Removed unused header includes:wq

Revision 4963 - (view) (annotate) - [select for diffs]
Modified Mon Dec 1 13:08:44 2014 UTC (9 years, 3 months ago) by michael
File length: 4466 byte(s)
Diff to previous 4589 , to selected 3186
- Get rid of NOCAPS

Revision 4589 - (view) (annotate) - [select for diffs]
Modified Tue Aug 26 15:59:21 2014 UTC (9 years, 7 months ago) by michael
File length: 4476 byte(s)
Diff to previous 4564 , to selected 3186
- Renamed 'localClient' Client structure member to just 'connection'

Revision 4564 - (view) (annotate) - [select for diffs]
Modified Sun Aug 24 10:24:47 2014 UTC (9 years, 7 months ago) by michael
File length: 4477 byte(s)
Diff to previous 4546 , to selected 3186
- Update GPL 2 license headers

Revision 4546 - (view) (annotate) - [select for diffs]
Modified Fri Aug 22 08:46:38 2014 UTC (9 years, 7 months ago) by michael
File length: 4473 byte(s)
Diff to previous 4021 , to selected 3186
- Fixed compile warnings with -Wmissing-field-initializers

Revision 4021 - (view) (annotate) - [select for diffs]
Modified Fri Jun 20 16:19:28 2014 UTC (9 years, 9 months ago) by michael
File length: 4467 byte(s)
Diff to previous 3966 , to selected 3186
- Got rid of SEND_UMODES. We now propagate all modes.

Revision 3966 - (view) (annotate) - [select for diffs]
Modified Wed Jun 18 10:53:33 2014 UTC (9 years, 9 months ago) by michael
File length: 4479 byte(s)
Diff to previous 3597 , to selected 3186
- m_svsnick.c:ms_svsnick(): don't use hunt_server()

Revision 3597 - (view) (annotate) - [select for diffs]
Modified Tue May 20 17:15:14 2014 UTC (9 years, 10 months ago) by michael
File length: 4085 byte(s)
Diff to previous 3377 , to selected 3186
- m_svsnick.c: whitespace changes

Revision 3377 - (view) (annotate) - [select for diffs]
Modified Thu Apr 24 16:15:51 2014 UTC (9 years, 11 months ago) by michael
File length: 4083 byte(s)
Diff to previous 3347 , to selected 3186
- Create 8.2.x branch

Revision 3347 - (view) (annotate) - [select for diffs]
Modified Sun Apr 20 14:03:06 2014 UTC (9 years, 11 months ago) by michael
Original Path: ircd-hybrid/trunk/modules/m_svsnick.c
File length: 4083 byte(s)
Diff to previous 3300 , to selected 3186
- Moved files:
  s_user.c -> user.c
  s_misc.c -> misc.c
  s_serv.c -> server.c

Revision 3300 - (view) (annotate) - [select for diffs]
Modified Sat Apr 12 18:26:22 2014 UTC (9 years, 11 months ago) by michael
Original Path: ircd-hybrid/trunk/modules/m_svsnick.c
File length: 4085 byte(s)
Diff to previous 3246 , to selected 3186
- doxygen

Revision 3246 - (view) (annotate) - [select for diffs]
Modified Sun Mar 30 17:37:13 2014 UTC (10 years ago) by michael
Original Path: ircd-hybrid/trunk/modules/m_svsnick.c
File length: 4106 byte(s)
Diff to previous 3186
- Fixed inconsistent style in several places

Revision 3186 - (view) (annotate) - [selected]
Modified Thu Mar 20 18:09:34 2014 UTC (10 years ago) by michael
Original Path: ircd-hybrid/trunk/modules/m_svsnick.c
File length: 4112 byte(s)
Diff to previous 3171
- Get rid of the ID() macro

Revision 3171 - (view) (annotate) - [select for diffs]
Modified Sun Mar 16 11:51:48 2014 UTC (10 years ago) by michael
Original Path: ircd-hybrid/trunk/modules/m_svsnick.c
File length: 4112 byte(s)
Diff to previous 3156 , to selected 3186
- Incorporate Adam's exit_client/quit storm cleanups
  Note: QS is mandatory now

Revision 3156 - (view) (annotate) - [select for diffs]
Modified Fri Mar 14 19:57:38 2014 UTC (10 years ago) by michael
Original Path: ircd-hybrid/trunk/modules/m_svsnick.c
File length: 4122 byte(s)
Diff to previous 3138 , to selected 3186
- Removed client_p pointers from everywhere

Revision 3138 - (view) (annotate) - [select for diffs]
Modified Tue Mar 11 19:07:25 2014 UTC (10 years ago) by michael
Original Path: ircd-hybrid/trunk/modules/m_svsnick.c
File length: 4318 byte(s)
Diff to previous 3135 , to selected 3186
- m_svsnick.c: applied "Do not self collide clients who svsnick to themselves" patch by adam

Revision 3135 - (view) (annotate) - [select for diffs]
Modified Mon Mar 10 21:11:25 2014 UTC (10 years ago) by michael
Original Path: ircd-hybrid/trunk/modules/m_svsnick.c
File length: 4209 byte(s)
Diff to previous 3096 , to selected 3186
- Server now no longer accepts TS5 links

Revision 3096 - (view) (annotate) - [select for diffs]
Modified Sat Mar 1 23:31:45 2014 UTC (10 years ago) by michael
Original Path: ircd-hybrid/trunk/modules/m_svsnick.c
File length: 4345 byte(s)
Diff to previous 2820 , to selected 3186
- Applied Adam's "Put the command name in parv[0], not prefix name" patch

Revision 2820 - (view) (annotate) - [select for diffs]
Modified Wed Jan 15 23:10:26 2014 UTC (10 years, 2 months ago) by michael
Original Path: ircd-hybrid/trunk/modules/m_svsnick.c
File length: 4351 byte(s)
Diff to previous 2482 , to selected 3186
- Clean up all files in modules/ (fixed indentation, removed whitespaces/tabs)
- Fixed copyright years
- Made module handlers int type for later use

Revision 2482 - (view) (annotate) - [select for diffs]
Modified Wed Oct 23 17:54:03 2013 UTC (10 years, 5 months ago) by michael
Original Path: ircd-hybrid/trunk/modules/m_svsnick.c
File length: 4355 byte(s)
Diff to previous 2300 , to selected 3186
- m_svsnick.c: fixed stupid bug that leads to desynchronized nick database
  throughout the entire network

Revision 2300 - (view) (annotate) - [select for diffs]
Modified Wed Jun 19 12:10:37 2013 UTC (10 years, 9 months ago) by michael
Original Path: ircd-hybrid/trunk/modules/m_svsnick.c
File length: 4355 byte(s)
Diff to previous 1734 , to selected 3186
- whowas: Renamed functions.
  add_history -> whowas_add_history
  off_history -> whowas_off_history
  get_history -> whowas_get_history

Revision 1734 - (view) (annotate) - [select for diffs]
Modified Fri Jan 11 12:59:24 2013 UTC (11 years, 2 months ago) by michael
Original Path: ircd-hybrid/trunk/modules/m_svsnick.c
File length: 4348 byte(s)
Diff to previous 1662 , to selected 3186
- Add support for "away-notify" client capability

Revision 1662 - (view) (annotate) - [select for diffs]
Modified Sat Nov 17 20:11:33 2012 UTC (11 years, 4 months ago) by michael
Original Path: ircd-hybrid/trunk/modules/m_svsnick.c
File length: 4345 byte(s)
Diff to previous 1592 , to selected 3186
- Fixed inconsistent svn file properties

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

Revision 1569 - (view) (annotate) - [select for diffs]
Modified Tue Oct 16 18:46:53 2012 UTC (11 years, 5 months ago) by michael
Original Path: ircd-hybrid-8/modules/m_svsnick.c
File length: 4345 byte(s)
Diff to previous 1474 , to selected 3186
- Removed remnants of MFLG_UNREG which is no longer needed with the
  current implementation of message handlers

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/modules/m_svsnick.c
File length: 4358 byte(s)
Diff to previous 1243 , to selected 3186
- removed &localchannels

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/modules/m_svsnick.c
File length: 4370 byte(s)
Diff to previous 1230 , to selected 3186
- 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 1230 - (view) (annotate) - [select for diffs]
Modified Thu Sep 22 19:41:19 2011 UTC (12 years, 6 months ago) by michael
Original Path: ircd-hybrid-8/modules/m_svsnick.c
File length: 4429 byte(s)
Diff to previous 1221 , to selected 3186
- cleanup module loader. Make module api more flexible

Revision 1221 - (view) (annotate) - [select for diffs]
Modified Sun Sep 18 10:44:31 2011 UTC (12 years, 6 months ago) by michael
Original Path: ircd-hybrid-8/modules/m_svsnick.c
File length: 4314 byte(s)
Diff to previous 1219 , to selected 3186
- m_svsnick(), m_svsmode(): remove redundant argument count validation

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/modules/m_svsnick.c
File length: 4339 byte(s)
Diff to previous 1178 , to selected 3186
- Start cleaning up macros in client.h. Replace several ClientHasSomeCoolFlag()
with simple HasFlag/HasUMode macros.

Revision 1178 - (view) (annotate) - [select for diffs]
Modified Mon Aug 15 08:11:31 2011 UTC (12 years, 7 months ago) by michael
Original Path: ircd-hybrid-8/modules/m_svsnick.c
File length: 4326 byte(s)
Diff to previous 1169 , to selected 3186
- Cleanup and restore older parts of the irc-command parser.
  Gives back ability to specify maximum amount of parameters
  that are processed within a command.

Revision 1169 - (view) (annotate) - [select for diffs]
Modified Fri Aug 12 18:45:03 2011 UTC (12 years, 7 months ago) by michael
Original Path: ircd-hybrid-8/modules/m_svsnick.c
File length: 4320 byte(s)
Diff to previous 1165 , to selected 3186
- rename find_server to hash_find_server to satisfy naming convention
- pull m_services.c and m_jupe.c from contrib/
- style fixes in some places

Revision 1165 - (view) (annotate) - [select for diffs]
Added Thu Aug 11 18:56:53 2011 UTC (12 years, 7 months ago) by michael
Original Path: ircd-hybrid-8/modules/m_svsnick.c
File length: 4315 byte(s)
Diff to selected 3186
- rename clean_nick_name() to valid_nickname() and move it so s_user.c
- add SVSNICK module
- update Makefile accordingly

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