ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/trunk/modules/core/m_nick.c
Revision 3156 - (view) (annotate) - [select for diffs]
Modified Fri Mar 14 19:57:38 2014 UTC (10 years ago) by michael
File length: 26917 byte(s)
Diff to previous 3135
- Removed client_p pointers from everywhere

Revision 3135 - (view) (annotate) - [select for diffs]
Modified Mon Mar 10 21:11:25 2014 UTC (10 years ago) by michael
File length: 27804 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: 29569 byte(s)
Diff to previous 3096
- Applied Adam's sendto_one_numeric() changes

Revision 3096 - (view) (annotate) - [select for diffs]
Modified Sat Mar 1 23:31:45 2014 UTC (10 years ago) by michael
File length: 30117 byte(s)
Diff to previous 3079
- Applied Adam's "Put the command name in parv[0], not prefix name" patch

Revision 3079 - (view) (annotate) - [select for diffs]
Modified Sat Mar 1 17:22:03 2014 UTC (10 years ago) by michael
File length: 30119 byte(s)
Diff to previous 3078
- white-space changes / style cleanups

Revision 3078 - (view) (annotate) - [select for diffs]
Modified Fri Feb 28 20:34:07 2014 UTC (10 years, 1 month ago) by michael
File length: 30154 byte(s)
Diff to previous 2955
- Renamed ts_warn() to sendto_realops_flags_ratelimited()

Revision 2955 - (view) (annotate) - [select for diffs]
Modified Tue Jan 28 16:40:30 2014 UTC (10 years, 2 months ago) by michael
File length: 30129 byte(s)
Diff to previous 2820
- register_remote_user(): removed unused realname/gecos parameter

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

Revision 2686 - (view) (annotate) - [select for diffs]
Modified Mon Dec 16 17:37:20 2013 UTC (10 years, 3 months ago) by michael
File length: 30072 byte(s)
Diff to previous 2565
- m_nick.c, m_join.c: Tweaked channel/nickname rejection notices

Revision 2565 - (view) (annotate) - [select for diffs]
Modified Sun Nov 17 18:40:26 2013 UTC (10 years, 4 months ago) by michael
File length: 30076 byte(s)
Diff to previous 2403
- Renamed kill_client_ll_serv_butone() to kill_client_serv_butone() just to satisfy Adam's OCD

Revision 2403 - (view) (annotate) - [select for diffs]
Modified Tue Jul 16 15:22:41 2013 UTC (10 years, 8 months ago) by michael
File length: 30127 byte(s)
Diff to previous 2368
- mr_nick(): remove legacy code for nicks cantaining '~'. valid_nickname()
  already takes care of this.

Revision 2368 - (view) (annotate) - [select for diffs]
Modified Thu Jul 4 22:42:24 2013 UTC (10 years, 8 months ago) by michael
File length: 30245 byte(s)
Diff to previous 2300
- m_nick.c:change_local_nick(): fixed nickchange-flooding logic
  not to further penalize already penalized clients

Revision 2300 - (view) (annotate) - [select for diffs]
Modified Wed Jun 19 12:10:37 2013 UTC (10 years, 9 months ago) by michael
File length: 30369 byte(s)
Diff to previous 2073
- whowas: Renamed functions.
  add_history -> whowas_add_history
  off_history -> whowas_off_history
  get_history -> whowas_get_history

Revision 2073 - (view) (annotate) - [select for diffs]
Modified Thu May 16 15:19:27 2013 UTC (10 years, 10 months ago) by michael
File length: 30355 byte(s)
Diff to previous 2070
- Removed outdated comment

Revision 2070 - (view) (annotate) - [select for diffs]
Modified Thu May 16 14:52:58 2013 UTC (10 years, 10 months ago) by michael
File length: 30507 byte(s)
Diff to previous 2067
- Another fix to previous commit. Am I drunk? Aye!

Revision 2067 - (view) (annotate) - [select for diffs]
Modified Thu May 16 14:45:29 2013 UTC (10 years, 10 months ago) by michael
File length: 30508 byte(s)
Diff to previous 2046
- Merged valid_username() and clean_user_name()

Revision 2046 - (view) (annotate) - [select for diffs]
Modified Wed May 15 15:50:35 2013 UTC (10 years, 10 months ago) by michael
File length: 30845 byte(s)
Diff to previous 2004
- m_nick.c: replaced few strcpy() with strlcpy()

Revision 2004 - (view) (annotate) - [select for diffs]
Modified Sun May 12 12:34:47 2013 UTC (10 years, 10 months ago) by michael
File length: 30795 byte(s)
Diff to previous 1997
- m_nick.c, m_part.c: only style corrections

Revision 1997 - (view) (annotate) - [select for diffs]
Modified Sat May 11 17:35:07 2013 UTC (10 years, 10 months ago) by michael
File length: 30373 byte(s)
Diff to previous 1838
- Mostly style cleanups & whitespace changes

Revision 1838 - (view) (annotate) - [select for diffs]
Modified Sun Apr 21 09:36:19 2013 UTC (10 years, 11 months ago) by michael
File length: 30940 byte(s)
Diff to previous 1834
- Numeric 432 now shows the actual reason of quarantined nicknames

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: 30853 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: 30723 byte(s)
Diff to previous 1795
- 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 1795 - (view) (annotate) - [select for diffs]
Modified Sun Mar 31 14:31:45 2013 UTC (10 years, 11 months ago) by michael
File length: 30853 byte(s)
Diff to previous 1751
- Forward-port -r1792 [Added SVSHOST command handler which allows services to change the
  hostname of a specific user]

Revision 1751 - (view) (annotate) - [select for diffs]
Modified Wed Jan 16 18:30:52 2013 UTC (11 years, 2 months ago) by michael
File length: 31220 byte(s)
Diff to previous 1734
- Forward-port -r1750 [IMPORTANT: nick and topic lengths are now configurable
  via ircd.conf. A max_nick_length, as well as a max_topic_length configuration
  option can now be found in the serverinfo{} block]
- OpenSSL 0.9.8s and higher is now required in order to enable ssl support

Revision 1734 - (view) (annotate) - [select for diffs]
Modified Fri Jan 11 12:59:24 2013 UTC (11 years, 2 months ago) by michael
File length: 31116 byte(s)
Diff to previous 1698
- Add support for "away-notify" client capability

Revision 1698 - (view) (annotate) - [select for diffs]
Modified Thu Dec 20 11:38:14 2012 UTC (11 years, 3 months ago) by michael
File length: 31110 byte(s)
Diff to previous 1688
- Forward-port -r1697 [Fixed bug where ircops could not
  see nick rejection notices]

Revision 1688 - (view) (annotate) - [select for diffs]
Modified Wed Dec 19 20:58:16 2012 UTC (11 years, 3 months ago) by michael
File length: 31110 byte(s)
Diff to previous 1687
- m_nick.c:mr_nick(): remove useless IsExemptResv() test which can
  never be true since the EXEMPT flags are set after nick/user/capab
  registration

Revision 1687 - (view) (annotate) - [select for diffs]
Modified Wed Dec 19 20:47:44 2012 UTC (11 years, 3 months ago) by michael
File length: 31143 byte(s)
Diff to previous 1632
- Forward-port -r1685 [STATS q|Q now shows how many times a resv{}
  block has been matched]

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: 31023 byte(s)
Diff to previous 1624
- Initial rewrite of the configuration subsystem

Revision 1624 - (view) (annotate) - [select for diffs]
Modified Thu Nov 1 13:27:04 2012 UTC (11 years, 4 months ago) by michael
File length: 31023 byte(s)
Diff to previous 1618
- Fixed compile warnings due to missing arguments to sendto_realops_flags()

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: 31010 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: 30790 byte(s)
Diff to previous 1559
- Second time's the charm? Moving svnroot/ircd-hybrid-8 to
  svnroot/ircd-hybrid/trunk

Revision 1559 - (view) (annotate) - [select for diffs]
Modified Sun Oct 14 01:38:28 2012 UTC (11 years, 5 months ago) by michael
Original Path: ircd-hybrid-8/modules/core/m_nick.c
File length: 30790 byte(s)
Diff to previous 1531
- Replaced TimeStamp based services IDs with more flexible account names

Revision 1531 - (view) (annotate) - [select for diffs]
Modified Tue Sep 18 12:09:32 2012 UTC (11 years, 6 months ago) by michael
Original Path: ircd-hybrid-8/modules/core/m_nick.c
File length: 30705 byte(s)
Diff to previous 1474
- ms_nick(): reject nickname changes without a TS

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/core/m_nick.c
File length: 30698 byte(s)
Diff to previous 1442
- removed &localchannels

Revision 1442 - (view) (annotate) - [select for diffs]
Modified Wed Jun 20 19:24:49 2012 UTC (11 years, 9 months ago) by michael
Original Path: ircd-hybrid-8/modules/core/m_nick.c
File length: 30722 byte(s)
Diff to previous 1431
- Added back server notice when a client tries to obtain a reserved nick name.
  Kinda useful notice; no idea why it got removed 10 years ago

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/modules/core/m_nick.c
File length: 30358 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/modules/core/m_nick.c
File length: 30350 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/modules/core/m_nick.c
File length: 30354 byte(s)
Diff to previous 1234
- 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 1234 - (view) (annotate) - [select for diffs]
Modified Fri Sep 23 08:15:04 2011 UTC (12 years, 6 months ago) by michael
Original Path: ircd-hybrid-8/modules/core/m_nick.c
File length: 30413 byte(s)
Diff to previous 1230
- replace all instances of parv[0] with source_p->name

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/core/m_nick.c
File length: 30401 byte(s)
Diff to previous 1219
- cleanup module loader. Make module api more flexible

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/core/m_nick.c
File length: 30463 byte(s)
Diff to previous 1196
- Start cleaning up macros in client.h. Replace several ClientHasSomeCoolFlag()
with simple HasFlag/HasUMode macros.

Revision 1196 - (view) (annotate) - [select for diffs]
Modified Sun Aug 21 10:09:23 2011 UTC (12 years, 7 months ago) by michael
Original Path: ircd-hybrid-8/modules/core/m_nick.c
File length: 30339 byte(s)
Diff to previous 1193
- implement NICK/UID servicestamps
- add "SVS" to server capabilities

Revision 1193 - (view) (annotate) - [select for diffs]
Modified Thu Aug 18 20:36:25 2011 UTC (12 years, 7 months ago) by michael
Original Path: ircd-hybrid-8/modules/core/m_nick.c
File length: 29146 byte(s)
Diff to previous 1192
- change_local_nick(): remove unnecessary client_p parameter

Revision 1192 - (view) (annotate) - [select for diffs]
Modified Thu Aug 18 20:25:18 2011 UTC (12 years, 7 months ago) by michael
Original Path: ircd-hybrid-8/modules/core/m_nick.c
File length: 29154 byte(s)
Diff to previous 1182
- move change_local_nick() from client.c to m_nick.c

Revision 1182 - (view) (annotate) - [select for diffs]
Modified Tue Aug 16 08:18:13 2011 UTC (12 years, 7 months ago) by michael
Original Path: ircd-hybrid-8/modules/core/m_nick.c
File length: 26295 byte(s)
Diff to previous 1178
- nick_from_server, uid_from_server: don't blindly increment Count.invisi
  without checking if we already did. Fixes invalid usercount in case servers
  sends redundant modes within an NICK/UID message.


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/core/m_nick.c
File length: 26137 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 (12 years, 7 months ago) by michael
Original Path: ircd-hybrid-8/modules/core/m_nick.c
File length: 26125 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]
Modified Thu Aug 11 18:56:53 2011 UTC (12 years, 7 months ago) by michael
Original Path: ircd-hybrid-8/modules/core/m_nick.c
File length: 26086 byte(s)
Diff to previous 1158
- rename clean_nick_name() to valid_nickname() and move it so s_user.c
- add SVSNICK module
- update Makefile accordingly

Revision 1158 - (view) (annotate) - [select for diffs]
Modified Wed Aug 10 19:46:00 2011 UTC (12 years, 7 months ago) by michael
Original Path: ircd-hybrid-8/modules/core/m_nick.c
File length: 26737 byte(s)
Diff to previous 1156
- UMODE_REJ goes to usermode 'j'
- add UMODE_REGISTERED ('r') (registered nickname)

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/modules/core/m_nick.c
File length: 26643 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/modules/core/m_nick.c
File length: 26643 byte(s)
Diff to previous 1121
- recreate "trunk"

Revision 1121 - (view) (annotate) - [select for diffs]
Modified Sun Jan 9 11:03:03 2011 UTC (13 years, 2 months ago) by michael
Original Path: ircd-hybrid-7.3/modules/core/m_nick.c
File length: 26643 byte(s)
Diff to previous 1080
- removed all instances of STATIC_MODULES since we don't have
  static modules anymore
- removed m_mkpasswd module from contrib

Revision 1080 - (view) (annotate) - [select for diffs]
Modified Wed Mar 10 23:09:36 2010 UTC (14 years ago) by michael
Original Path: ircd-hybrid-7.3/modules/core/m_nick.c
File length: 26673 byte(s)
Diff to previous 1029
- Sort out unneeded arguments of some user registration functions

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/modules/core/m_nick.c
File length: 26837 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/modules/core/m_nick.c
File length: 26837 byte(s)
Diff to previous 1017
- move ircd-hybrid-7.2 to trunk

Revision 1017 - (view) (annotate) - [select for diffs]
Modified Tue Oct 27 22:22:38 2009 UTC (14 years, 5 months ago) by michael
Original Path: ircd-hybrid-7.2/modules/core/m_nick.c
File length: 26837 byte(s)
Diff to previous 1011
- fixed build with --enable-assert
- fixed STATS z reporting correct memory consumption of channel bans/excepts/invites and watchlist entries

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/modules/core/m_nick.c
File length: 26831 byte(s)
Diff to previous 1003
- move list manipulation routines from tools.c to list.c
- mem_frob() goes to memory.c
- sort out redundant/unneeded header includes

Revision 1003 - (view) (annotate) - [select for diffs]
Modified Sat Aug 29 22:57:41 2009 UTC (14 years, 7 months ago) by michael
Original Path: ircd-hybrid-7.2/modules/core/m_nick.c
File length: 26831 byte(s)
Diff to previous 1002
- set_initial_nick(): remove *outdated* comment and make this function only
take 2 parameters. source_p == client_p for local clients.

Revision 1002 - (view) (annotate) - [select for diffs]
Modified Sat Aug 29 22:48:40 2009 UTC (14 years, 7 months ago) by michael
Original Path: ircd-hybrid-7.2/modules/core/m_nick.c
File length: 27153 byte(s)
Diff to previous 981
- moved set_initial_nick() to m_nick.c

Revision 981 - (view) (annotate) - [select for diffs]
Modified Sun Aug 9 19:09:03 2009 UTC (14 years, 7 months ago) by michael
Original Path: ircd-hybrid-7.2/modules/core/m_nick.c
File length: 25944 byte(s)
Diff to previous 896
- speed up processing of incoming NICK/UID bursts
- fixed archaic bug where bursting servers with missconfigured NICKLEN were able
  to desync the network's nickname database


Revision 896 - (view) (annotate) - [select for diffs]
Modified Sat Nov 3 08:54:09 2007 UTC (16 years, 4 months ago) by michael
Original Path: ircd-hybrid-7.2/modules/core/m_nick.c
File length: 25259 byte(s)
Diff to previous 887
- Killed s_stats.c

Revision 887 - (view) (annotate) - [select for diffs]
Modified Thu Nov 1 11:54:48 2007 UTC (16 years, 4 months ago) by michael
Original Path: ircd-hybrid-7.2/modules/core/m_nick.c
File length: 25407 byte(s)
Diff to previous 885
- Backported new ACCEPT code which adds support for n!u@h masks

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/modules/core/m_nick.c
File length: 25440 byte(s)
Diff to previous 876
- 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 876 - (view) (annotate) - [select for diffs]
Modified Wed Oct 24 21:51:21 2007 UTC (16 years, 5 months ago) by michael
Original Path: ircd-hybrid-7.2/modules/core/m_nick.c
File length: 27413 byte(s)
Diff to previous 706
Backported WATCH
Revision 706 - (view) (annotate) - [select for diffs]
Modified Sun Jul 2 11:25:55 2006 UTC (17 years, 9 months ago) by michael
Original Path: ircd-hybrid-7.2/modules/core/m_nick.c
File length: 27237 byte(s)
Diff to previous 222
- ACCEPT fixes as reported by ThaPrince

Revision 222 - (view) (annotate) - [select for diffs]
Modified Thu Nov 3 15:39:49 2005 UTC (18 years, 4 months ago) by michael
Original Path: ircd-hybrid-7.2/modules/core/m_nick.c
File length: 27191 byte(s)
Diff to previous 34
- Added missing 'return' after register_remote_user() call in
  nick_from_server()

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/modules/core/m_nick.c
File length: 27182 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/modules/core/m_nick.c
File length: 27182 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/modules/core/m_nick.c
File length: 27182 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/modules/core/m_nick.c
File length: 27182 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/modules/core/m_nick.c
File length: 27237 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