ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/trunk/modules/m_svsnick.c
Revision 9750 - (view) (annotate) - [select for diffs]
Modified Sun Nov 29 16:51:58 2020 UTC (5 years, 7 months ago) by michael
File length: 4777 byte(s)
Diff to previous 9572
- Replace WATCH with IRCv3.2 MONITOR

Revision 9572 - (view) (annotate) - [select for diffs]
Modified Sat Aug 29 10:36:41 2020 UTC (5 years, 10 months ago) by michael
File length: 4801 byte(s)
Diff to previous 9561
- m_nick.c, m_svsnick.c: removed old backwards compatibility code

Revision 9561 - (view) (annotate) - [select for diffs]
Modified Sat Aug 8 13:18:35 2020 UTC (5 years, 11 months ago) by michael
File length: 5065 byte(s)
Diff to previous 9560
- m_svsnick.c: actually use 'new_nick' instead of parv[3] which can be a timestamp

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

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

Revision 9274 - (view) (annotate) - [select for diffs]
Modified Wed Feb 12 18:46:30 2020 UTC (6 years, 5 months ago) by michael
File length: 5001 byte(s)
Diff to previous 9272
- Reduce size of some user mode relevant buffers from IRCD_BUFSIZE (512) to UMODE_MAX_STR (56)

Revision 9272 - (view) (annotate) - [select for diffs]
Modified Wed Feb 12 18:42:07 2020 UTC (6 years, 5 months ago) by michael
File length: 5000 byte(s)
Diff to previous 9234
- Stylistic changes to m_svsmode.c & m_svsnick.c

Revision 9234 - (view) (annotate) - [select for diffs]
Modified Fri Jan 31 17:38:34 2020 UTC (6 years, 5 months ago) by michael
File length: 5010 byte(s)
Diff to previous 9101
- 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 9101 - (view) (annotate) - [select for diffs]
Modified Wed Jan 1 09:58:45 2020 UTC (6 years, 6 months ago) by michael
File length: 4989 byte(s)
Diff to previous 9077
- Bump copyright years everywhere

Revision 9077 - (view) (annotate) - [select for diffs]
Modified Sat Oct 12 20:15:17 2019 UTC (6 years, 9 months ago) by michael
File length: 4989 byte(s)
Diff to previous 8752
- Command handlers are now of type void again

Revision 8752 - (view) (annotate) - [select for diffs]
Modified Tue Jan 1 11:07:01 2019 UTC (7 years, 6 months ago) by michael
File length: 5016 byte(s)
Diff to previous 8688
- Update copyright years

Revision 8688 - (view) (annotate) - [select for diffs]
Modified Sun Dec 2 12:46:22 2018 UTC (7 years, 7 months ago) by michael
File length: 5016 byte(s)
Diff to previous 8664
- More bool conversion. This should be everything now.

Revision 8664 - (view) (annotate) - [select for diffs]
Modified Thu Nov 22 14:26:32 2018 UTC (7 years, 8 months ago) by michael
File length: 5013 byte(s)
Diff to previous 8660
- Make use of bool even more

Revision 8660 - (view) (annotate) - [select for diffs]
Modified Sun Nov 18 12:55:59 2018 UTC (7 years, 8 months ago) by michael
File length: 5010 byte(s)
Diff to previous 8658
- Make use of the bool data type in some more places

Revision 8658 - (view) (annotate) - [select for diffs]
Modified Mon Nov 12 19:03:09 2018 UTC (7 years, 8 months ago) by michael
File length: 5007 byte(s)
Diff to previous 8603
- Make use of the bool data type in some more places

Revision 8603 - (view) (annotate) - [select for diffs]
Modified Sun Oct 28 19:43:30 2018 UTC (7 years, 8 months ago) by michael
File length: 5000 byte(s)
Diff to previous 8339
- Fixed style inconsistencies in various places

Revision 8339 - (view) (annotate) - [select for diffs]
Modified Sat Mar 3 22:47:06 2018 UTC (8 years, 4 months ago) by michael
File length: 4992 byte(s)
Diff to previous 8279
- 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 8279 - (view) (annotate) - [select for diffs]
Modified Tue Feb 20 19:30:13 2018 UTC (8 years, 5 months ago) by michael
File length: 4993 byte(s)
Diff to previous 8059
- Update copyright years

Revision 8059 - (view) (annotate) - [select for diffs]
Modified Thu Mar 23 16:13:39 2017 UTC (9 years, 4 months ago) by michael
File length: 4993 byte(s)
Diff to previous 7997
- Fixed style inconsistencies in various places

Revision 7997 - (view) (annotate) - [select for diffs]
Modified Tue Mar 14 13:17:52 2017 UTC (9 years, 4 months ago) by michael
File length: 4992 byte(s)
Diff to previous 7924
- Rename get_client_name() to client_get_name()

Revision 7924 - (view) (annotate) - [select for diffs]
Modified Sat Dec 31 13:57:08 2016 UTC (9 years, 6 months ago) by michael
File length: 4992 byte(s)
Diff to previous 7856
- Update copyright years

Revision 7856 - (view) (annotate) - [select for diffs]
Modified Sun Nov 6 21:26:47 2016 UTC (9 years, 8 months ago) by michael
File length: 4992 byte(s)
Diff to previous 7855
- m_svsnick.c: fixed spelling

Revision 7855 - (view) (annotate) - [select for diffs]
Modified Sun Nov 6 20:58:04 2016 UTC (9 years, 8 months ago) by michael
File length: 4993 byte(s)
Diff to previous 7764
- m_svsnick.c: add source ts support

Revision 7764 - (view) (annotate) - [select for diffs]
Modified Thu Oct 6 17:01:40 2016 UTC (9 years, 9 months ago) by michael
File length: 4519 byte(s)
Diff to previous 7599
- Get rid of clear_ban_cache_channel() and clear_ban_cache_client(). Use clear_ban_cache_list() instead.

Revision 7599 - (view) (annotate) - [select for diffs]
Modified Mon Jun 13 18:56:33 2016 UTC (10 years, 1 month ago) by michael
File length: 4511 byte(s)
Diff to previous 7469
- Minor cleanup to send_umode() to get rid of the redundant struct Client * pointer

Revision 7469 - (view) (annotate) - [select for diffs]
Modified Sat Mar 12 19:07:20 2016 UTC (10 years, 4 months ago) by michael
File length: 4518 byte(s)
Diff to previous 7330
- m_svsnick.c:ms_svsnick(): split up if statement

Revision 7330 - (view) (annotate) - [select for diffs]
Modified Fri Feb 19 17:50:13 2016 UTC (10 years, 5 months ago) by michael
File length: 4499 byte(s)
Diff to previous 7006
- 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 7006 - (view) (annotate) - [select for diffs]
Modified Fri Jan 1 00:07:54 2016 UTC (10 years, 6 months ago) by michael
File length: 4499 byte(s)
Diff to previous 6900
- Update copyright years

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

Revision 6782 - (view) (annotate) - [select for diffs]
Modified Sun Nov 15 18:49:32 2015 UTC (10 years, 8 months ago) by michael
File length: 4484 byte(s)
Diff to previous 6774
- 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 6774 - (view) (annotate) - [select for diffs]
Modified Fri Nov 13 20:20:48 2015 UTC (10 years, 8 months ago) by michael
File length: 4499 byte(s)
Diff to previous 6633
- Implement ircv3.2 chghost client capability support

Revision 6633 - (view) (annotate) - [select for diffs]
Modified Sat Oct 24 15:15:33 2015 UTC (10 years, 9 months ago) by michael
File length: 4496 byte(s)
Diff to previous 5881
- Use client->name when updating the fd's associated name record with fd_note()

Revision 5881 - (view) (annotate) - [select for diffs]
Modified Sun May 3 16:04:15 2015 UTC (11 years, 2 months ago) by michael
File length: 4489 byte(s)
Diff to previous 5864
- Use C99-style initializers in all struct Message items
- Removed MFLG_SLOW
- Removed DUMMY_HANDLER

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

Revision 5548 - (view) (annotate) - [select for diffs]
Modified Thu Feb 12 14:26:11 2015 UTC (11 years, 5 months ago) by michael
File length: 4431 byte(s)
Diff to previous 5347
- m_mode.c, m_svsmode.c, m_svsnick.c: const correctness

Revision 5347 - (view) (annotate) - [select for diffs]
Modified Sun Jan 11 12:42:20 2015 UTC (11 years, 6 months ago) by michael
File length: 4425 byte(s)
Diff to previous 5014
- Update copyright years

Revision 5014 - (view) (annotate) - [select for diffs]
Modified Tue Dec 9 17:51:47 2014 UTC (11 years, 7 months ago) by michael
File length: 4425 byte(s)
Diff to previous 4962
- Removed unused header includes:wq

Revision 4962 - (view) (annotate) - [select for diffs]
Modified Mon Dec 1 13:08:31 2014 UTC (11 years, 7 months ago) by michael
File length: 4466 byte(s)
Diff to previous 4588
- Get rid of NOCAPS

Revision 4588 - (view) (annotate) - [select for diffs]
Modified Tue Aug 26 15:59:07 2014 UTC (11 years, 10 months ago) by michael
File length: 4476 byte(s)
Diff to previous 4565
- Renamed 'localClient' Client structure member to just 'connection'

Revision 4565 - (view) (annotate) - [select for diffs]
Modified Sun Aug 24 10:27:40 2014 UTC (11 years, 11 months ago) by michael
File length: 4477 byte(s)
Diff to previous 4545
- Update GPL 2 license headers

Revision 4545 - (view) (annotate) - [select for diffs]
Modified Fri Aug 22 08:46:13 2014 UTC (11 years, 11 months ago) by michael
File length: 4473 byte(s)
Diff to previous 4020
- Implemented pseudo {} blocks (service aliases)
- Fixed compile warnings with -Wmissing-field-initializers

Revision 4020 - (view) (annotate) - [select for diffs]
Modified Fri Jun 20 16:17:27 2014 UTC (12 years, 1 month ago) by michael
File length: 4467 byte(s)
Diff to previous 3967
- Got rid of SEND_UMODES. We now propagate all modes.

Revision 3967 - (view) (annotate) - [select for diffs]
Modified Wed Jun 18 10:53:47 2014 UTC (12 years, 1 month ago) by michael
File length: 4479 byte(s)
Diff to previous 3596
- m_svsnick.c:ms_svsnick(): don't use hunt_server()

Revision 3596 - (view) (annotate) - [select for diffs]
Modified Tue May 20 17:15:01 2014 UTC (12 years, 2 months ago) by michael
File length: 4085 byte(s)
Diff to previous 3347
- m_svsnick.c: whitespace changes

Revision 3347 - (view) (annotate) - [select for diffs]
Modified Sun Apr 20 14:03:06 2014 UTC (12 years, 3 months ago) by michael
File length: 4083 byte(s)
Diff to previous 3300
- 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 (12 years, 3 months ago) by michael
File length: 4085 byte(s)
Diff to previous 3246
- doxygen

Revision 3246 - (view) (annotate) - [select for diffs]
Modified Sun Mar 30 17:37:13 2014 UTC (12 years, 3 months ago) by michael
File length: 4106 byte(s)
Diff to previous 3186
- Fixed inconsistent style in several places

Revision 3186 - (view) (annotate) - [select for diffs]
Modified Thu Mar 20 18:09:34 2014 UTC (12 years, 4 months ago) by michael
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 (12 years, 4 months ago) by michael
File length: 4112 byte(s)
Diff to previous 3156
- 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 (12 years, 4 months ago) by michael
File length: 4122 byte(s)
Diff to previous 3138
- Removed client_p pointers from everywhere

Revision 3138 - (view) (annotate) - [select for diffs]
Modified Tue Mar 11 19:07:25 2014 UTC (12 years, 4 months ago) by michael
File length: 4318 byte(s)
Diff to previous 3135
- 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 (12 years, 4 months ago) by michael
File length: 4209 byte(s)
Diff to previous 3096
- Server now no longer accepts TS5 links

Revision 3096 - (view) (annotate) - [select for diffs]
Modified Sat Mar 1 23:31:45 2014 UTC (12 years, 4 months ago) by michael
File length: 4345 byte(s)
Diff to previous 2820
- 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 (12 years, 6 months ago) by michael
File length: 4351 byte(s)
Diff to previous 2482
- 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 (12 years, 9 months ago) by michael
File length: 4355 byte(s)
Diff to previous 2300
- 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 (13 years, 1 month ago) by michael
File length: 4355 byte(s)
Diff to previous 1734
- 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 (13 years, 6 months ago) by michael
File length: 4348 byte(s)
Diff to previous 1662
- Add support for "away-notify" client capability

Revision 1662 - (view) (annotate) - [select for diffs]
Modified Sat Nov 17 20:11:33 2012 UTC (13 years, 8 months ago) by michael
File length: 4345 byte(s)
Diff to previous 1592
- Fixed inconsistent svn file properties

Revision 1592 - (view) (annotate) - [select for diffs]
Modified Sat Oct 27 21:02:32 2012 UTC (13 years, 8 months ago) by michael
File length: 4345 byte(s)
Diff to previous 1569
- 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 (13 years, 9 months ago) by michael
Original Path: ircd-hybrid-8/modules/m_svsnick.c
File length: 4345 byte(s)
Diff to previous 1474
- 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 (14 years ago) by michael
Original Path: ircd-hybrid-8/modules/m_svsnick.c
File length: 4358 byte(s)
Diff to previous 1243
- removed &localchannels

Revision 1243 - (view) (annotate) - [select for diffs]
Modified Fri Sep 30 10:47:53 2011 UTC (14 years, 9 months ago) by michael
Original Path: ircd-hybrid-8/modules/m_svsnick.c
File length: 4370 byte(s)
Diff to previous 1230
- 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 (14 years, 10 months ago) by michael
Original Path: ircd-hybrid-8/modules/m_svsnick.c
File length: 4429 byte(s)
Diff to previous 1221
- cleanup module loader. Make module api more flexible

Revision 1221 - (view) (annotate) - [select for diffs]
Modified Sun Sep 18 10:44:31 2011 UTC (14 years, 10 months ago) by michael
Original Path: ircd-hybrid-8/modules/m_svsnick.c
File length: 4314 byte(s)
Diff to previous 1219
- 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 (14 years, 10 months ago) by michael
Original Path: ircd-hybrid-8/modules/m_svsnick.c
File length: 4339 byte(s)
Diff to previous 1178
- 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 (14 years, 11 months ago) by michael
Original Path: ircd-hybrid-8/modules/m_svsnick.c
File length: 4326 byte(s)
Diff to previous 1169
- 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 (14 years, 11 months ago) by michael
Original Path: ircd-hybrid-8/modules/m_svsnick.c
File length: 4320 byte(s)
Diff to previous 1165
- 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 (14 years, 11 months ago) by michael
Original Path: ircd-hybrid-8/modules/m_svsnick.c
File length: 4315 byte(s)
- 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