ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/trunk/src/motd.c
Revision 8752 - (view) (annotate) - [select for diffs]
Modified Tue Jan 1 11:07:01 2019 UTC (6 years, 7 months ago) by michael
File length: 12671 byte(s)
Diff to previous 8660 , to selected 8310
- Update copyright years

Revision 8660 - (view) (annotate) - [select for diffs]
Modified Sun Nov 18 12:55:59 2018 UTC (6 years, 9 months ago) by michael
File length: 12671 byte(s)
Diff to previous 8603 , to selected 8310
- 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 (6 years, 9 months ago) by michael
File length: 12668 byte(s)
Diff to previous 8500 , to selected 8310
- Fixed style inconsistencies in various places

Revision 8500 - (view) (annotate) - [select for diffs]
Modified Thu Apr 5 13:00:49 2018 UTC (7 years, 4 months ago) by michael
File length: 12634 byte(s)
Diff to previous 8496 , to selected 8310
- Killed Connection::aftype. Use Client::ip.ss.ss_family instead.

Revision 8496 - (view) (annotate) - [select for diffs]
Modified Thu Apr 5 12:46:00 2018 UTC (7 years, 4 months ago) by michael
File length: 12640 byte(s)
Diff to previous 8437 , to selected 8310
- Killed userhost.c. Rewrote everything to use ipcache.c

Revision 8437 - (view) (annotate) - [select for diffs]
Modified Thu Mar 29 09:05:34 2018 UTC (7 years, 4 months ago) by michael
File length: 12664 byte(s)
Diff to previous 8310
- Stylistic changes

Revision 8310 - (view) (annotate) - [selected]
Modified Wed Feb 28 16:46:13 2018 UTC (7 years, 5 months ago) by michael
File length: 12664 byte(s)
Diff to previous 8279
- Clean up remaining sizeof() to sizeof(variable)

Revision 8279 - (view) (annotate) - [select for diffs]
Modified Tue Feb 20 19:30:13 2018 UTC (7 years, 6 months ago) by michael
File length: 12688 byte(s)
Diff to previous 8270 , to selected 8310
- Update copyright years

Revision 8270 - (view) (annotate) - [select for diffs]
Modified Fri Jun 23 17:21:34 2017 UTC (8 years, 2 months ago) by michael
File length: 12688 byte(s)
Diff to previous 7934 , to selected 8310
- motd.c:motd_lookup(): fixed indentation

Revision 7934 - (view) (annotate) - [select for diffs]
Modified Fri Jan 27 14:29:17 2017 UTC (8 years, 6 months ago) by michael
File length: 12700 byte(s)
Diff to previous 7924 , to selected 8310
- motd.c:motd_lookup(): don't retrieve ClassItem pointer when there's no need to

Revision 7924 - (view) (annotate) - [select for diffs]
Modified Sat Dec 31 13:57:08 2016 UTC (8 years, 7 months ago) by michael
File length: 12753 byte(s)
Diff to previous 7914 , to selected 8310
- Update copyright years

Revision 7914 - (view) (annotate) - [select for diffs]
Modified Sun Nov 27 18:54:53 2016 UTC (8 years, 8 months ago) by michael
File length: 12753 byte(s)
Diff to previous 7775 , to selected 8310
- Style corrections

Revision 7775 - (view) (annotate) - [select for diffs]
Modified Sat Oct 8 16:54:29 2016 UTC (8 years, 10 months ago) by michael
File length: 12760 byte(s)
Diff to previous 7687 , to selected 8310
- motd.c:motd_cache(): stylistic changes

Revision 7687 - (view) (annotate) - [select for diffs]
Modified Thu Aug 18 17:32:22 2016 UTC (9 years ago) by michael
File length: 12758 byte(s)
Diff to previous 7668 , to selected 8310
- Remove excessive const keyword on dlink_node pointers

Revision 7668 - (view) (annotate) - [select for diffs]
Modified Wed Jul 20 17:09:49 2016 UTC (9 years, 1 month ago) by michael
File length: 12784 byte(s)
Diff to previous 7266 , to selected 8310
- Fixed svn properties

Revision 7266 - (view) (annotate) - [select for diffs]
Modified Sat Feb 6 19:02:03 2016 UTC (9 years, 6 months ago) by michael
File length: 12784 byte(s)
Diff to previous 7032 , to selected 8310
- Minor simplifications on clearing lists

Revision 7032 - (view) (annotate) - [select for diffs]
Modified Sun Jan 3 14:34:39 2016 UTC (9 years, 7 months ago) by michael
File length: 12808 byte(s)
Diff to previous 7006 , to selected 8310
- Renamed MyCalloc to xcalloc

Revision 7006 - (view) (annotate) - [select for diffs]
Modified Fri Jan 1 00:07:54 2016 UTC (9 years, 7 months ago) by michael
File length: 12817 byte(s)
Diff to previous 6690 , to selected 8310
- Update copyright years

Revision 6690 - (view) (annotate) - [select for diffs]
Modified Thu Oct 29 12:04:11 2015 UTC (9 years, 9 months ago) by michael
File length: 12817 byte(s)
Diff to previous 6682 , to selected 8310
- Rename variables for consistency

Revision 6682 - (view) (annotate) - [select for diffs]
Modified Tue Oct 27 20:29:48 2015 UTC (9 years, 10 months ago) by michael
File length: 12805 byte(s)
Diff to previous 6537 , to selected 8310
- channel.c, motd.c: rename variables

Revision 6537 - (view) (annotate) - [select for diffs]
Modified Sat Sep 12 16:30:37 2015 UTC (9 years, 11 months ago) by michael
File length: 12805 byte(s)
Diff to previous 6514 , to selected 8310
- motd.c, send.c: use %zu conversion specifier for size_t types

Revision 6514 - (view) (annotate) - [select for diffs]
Modified Sun Sep 6 19:26:18 2015 UTC (9 years, 11 months ago) by michael
File length: 12803 byte(s)
Diff to previous 5545 , to selected 8310
- motd.h, motd.c: have motd_signon() use date_iso8601()

Revision 5545 - (view) (annotate) - [select for diffs]
Modified Thu Feb 12 14:13:34 2015 UTC (10 years, 6 months ago) by michael
File length: 13015 byte(s)
Diff to previous 5387 , to selected 8310
- Fixed style in several places

Revision 5387 - (view) (annotate) - [select for diffs]
Modified Sun Jan 18 12:43:12 2015 UTC (10 years, 7 months ago) by michael
File length: 13013 byte(s)
Diff to previous 5347 , to selected 8310
- m_gline.c, m_kline.c, motd.c: need to check against client->sockhost as well

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

Revision 5011 - (view) (annotate) - [select for diffs]
Modified Tue Dec 9 15:29:56 2014 UTC (10 years, 8 months ago) by michael
File length: 12971 byte(s)
Diff to previous 4890 , to selected 8310
- motd.c:motd_create(): fixed indentation

Revision 4890 - (view) (annotate) - [select for diffs]
Modified Wed Nov 19 17:10:46 2014 UTC (10 years, 9 months ago) by michael
File length: 12954 byte(s)
Diff to previous 4815 , to selected 8310
- Style corrections

Revision 4815 - (view) (annotate) - [select for diffs]
Modified Sat Nov 1 15:28:42 2014 UTC (10 years, 9 months ago) by michael
File length: 12976 byte(s)
Diff to previous 4588 , to selected 8310
- Renamed variables

Revision 4588 - (view) (annotate) - [select for diffs]
Modified Tue Aug 26 15:59:07 2014 UTC (11 years ago) by michael
File length: 12953 byte(s)
Diff to previous 4565 , to selected 8310
- 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 ago) by michael
File length: 12958 byte(s)
Diff to previous 4479 , to selected 8310
- Update GPL 2 license headers

Revision 4479 - (view) (annotate) - [select for diffs]
Modified Thu Aug 14 16:18:31 2014 UTC (11 years ago) by michael
File length: 12954 byte(s)
Diff to previous 4415 , to selected 8310
- Fixed compile warnings

Revision 4415 - (view) (annotate) - [select for diffs]
Modified Thu Aug 7 14:09:36 2014 UTC (11 years ago) by michael
File length: 12930 byte(s)
Diff to previous 4351 , to selected 8310
- Removed ipv6 detection. We now assume all systems that run hybrid have
  ipv6 availability and sockaddr_storage.

Revision 4351 - (view) (annotate) - [select for diffs]
Modified Sat Aug 2 17:20:32 2014 UTC (11 years ago) by michael
File length: 12968 byte(s)
Diff to previous 4348 , to selected 8310
- motd.h, motd.c: renamed Motd::hostmask to just Motd::mask just because it's kinda
  missleading since the mask can also be a class name

Revision 4348 - (view) (annotate) - [select for diffs]
Modified Sat Aug 2 17:14:44 2014 UTC (11 years ago) by michael
File length: 13028 byte(s)
Diff to previous 4347 , to selected 8310
- motd.h, motd.c: clean up/fix comments

Revision 4347 - (view) (annotate) - [select for diffs]
Modified Sat Aug 2 17:07:28 2014 UTC (11 years ago) by michael
File length: 13022 byte(s)
Diff to previous 4340 , to selected 8310
- motd.c:motd_cache(): fixed cast

Revision 4340 - (view) (annotate) - [select for diffs]
Modified Sat Aug 2 16:53:22 2014 UTC (11 years ago) by michael
File length: 13016 byte(s)
Diff to previous 3589 , to selected 8310
- Renamed structures to meet code conventions

Revision 3589 - (view) (annotate) - [select for diffs]
Modified Sun May 18 15:24:35 2014 UTC (11 years, 3 months ago) by michael
File length: 13018 byte(s)
Diff to previous 3504 , to selected 8310
- Use sendto_one_numeric() everywhere

Revision 3504 - (view) (annotate) - [select for diffs]
Modified Sat May 10 19:51:29 2014 UTC (11 years, 3 months ago) by michael
File length: 13011 byte(s)
Diff to previous 3319 , to selected 8310
- Renamed MyMalloc() to MyCalloc()

Revision 3319 - (view) (annotate) - [select for diffs]
Modified Tue Apr 15 15:41:50 2014 UTC (11 years, 4 months ago) by michael
File length: 13011 byte(s)
Diff to previous 3292 , to selected 8310
- Removed useless header includes

Revision 3292 - (view) (annotate) - [select for diffs]
Modified Thu Apr 10 13:53:16 2014 UTC (11 years, 4 months ago) by michael
File length: 13031 byte(s)
Diff to previous 3254 , to selected 8310
- motd.c:motd_lookup(): replaced MyClient() test with MyConnect()

Revision 3254 - (view) (annotate) - [select for diffs]
Modified Thu Apr 3 16:47:23 2014 UTC (11 years, 4 months ago) by michael
File length: 13030 byte(s)
Diff to previous 3235 , to selected 8310
- motd.c: update/fix some comments

Revision 3235 - (view) (annotate) - [select for diffs]
Modified Sat Mar 29 19:34:16 2014 UTC (11 years, 4 months ago) by michael
File length: 13014 byte(s)
Diff to previous 3110 , to selected 8310
- Style corrections all over the place

Revision 3110 - (view) (annotate) - [select for diffs]
Modified Thu Mar 6 20:33:17 2014 UTC (11 years, 5 months ago) by michael
File length: 13048 byte(s)
Diff to previous 3109 , to selected 8310
- Added sendto_one_notice()

Revision 3109 - (view) (annotate) - [select for diffs]
Modified Thu Mar 6 19:25:12 2014 UTC (11 years, 5 months ago) by michael
File length: 13101 byte(s)
Diff to previous 2916 , to selected 8310
- Applied Adam's sendto_one_numeric() changes

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

Revision 2888 - (view) (annotate) - [select for diffs]
Modified Tue Jan 21 17:47:11 2014 UTC (11 years, 7 months ago) by michael
File length: 13372 byte(s)
Diff to previous 2874 , to selected 8310
- Fixed improper use of the ID_or_name macro in several places

Revision 2874 - (view) (annotate) - [select for diffs]
Modified Sun Jan 19 17:36:58 2014 UTC (11 years, 7 months ago) by michael
File length: 13384 byte(s)
Diff to previous 2410 , to selected 8310
- motd.c:motd_lookup(): constification

Revision 2410 - (view) (annotate) - [select for diffs]
Modified Fri Jul 19 15:44:09 2013 UTC (12 years, 1 month ago) by michael
File length: 13378 byte(s)
Diff to previous 2320 , to selected 8310
- motd.(c|h): fixed core with zero byte length ircd.motd. Reported by Fawkes

Revision 2320 - (view) (annotate) - [select for diffs]
Modified Sat Jun 22 20:53:51 2013 UTC (12 years, 2 months ago) by michael
File length: 13396 byte(s)
Diff to previous 2203 , to selected 8310
- motd.c: fixed possible core with "STATS z" as reported by Fawkes

Revision 2203 - (view) (annotate) - [select for diffs]
Modified Wed Jun 5 18:33:28 2013 UTC (12 years, 2 months ago) by michael
File length: 13401 byte(s)
Diff to previous 2194 , to selected 8310
- motd.c: style correction

Revision 2194 - (view) (annotate) - [select for diffs]
Modified Tue Jun 4 14:58:06 2013 UTC (12 years, 2 months ago) by michael
File length: 13395 byte(s)
Diff to previous 2193 , to selected 8310
- Fixes to changes done in -r2164

Revision 2193 - (view) (annotate) - [select for diffs]
Modified Tue Jun 4 13:31:33 2013 UTC (12 years, 2 months ago) by michael
File length: 13378 byte(s)
Diff to previous 2190 , to selected 8310
- motd.c:motd_destroy() don't attempt to unlink a local/remote motd
  from MotdList.other

Revision 2190 - (view) (annotate) - [select for diffs]
Modified Tue Jun 4 12:53:00 2013 UTC (12 years, 2 months ago) by michael
File length: 13376 byte(s)
Diff to previous 2168 , to selected 8310
- motd.c:motd_cache(): do the stat() before fopen() + improve error
  reporting in case stat() failed

Revision 2168 - (view) (annotate) - [select for diffs]
Modified Sun Jun 2 20:08:01 2013 UTC (12 years, 2 months ago) by michael
File length: 13303 byte(s)
Diff to previous 2167 , to selected 8310
- motd.c, motd.h: fix compile warnings

Revision 2167 - (view) (annotate) - [select for diffs]
Modified Sun Jun 2 20:02:51 2013 UTC (12 years, 2 months ago) by michael
File length: 13284 byte(s)
Diff to previous 2164 , to selected 8310
- motd.c, motd.h: add support for ip masks

Revision 2164 - (view) (annotate) - [select for diffs]
Modified Sun Jun 2 19:42:58 2013 UTC (12 years, 2 months ago) by michael
File length: 12528 byte(s)
Diff to previous 2150 , to selected 8310
- motd.h, motd.c: minor cleanups. use 'unsigned' whenever possible

Revision 2150 - (view) (annotate) - [select for diffs]
Modified Fri May 31 18:39:43 2013 UTC (12 years, 2 months ago) by michael
File length: 12548 byte(s)
Diff to previous 1834 , to selected 8310
- Implement motd{} configuration blocks based on ircu's implementation

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

Revision 1832 - (view) (annotate) - [select for diffs]
Modified Fri Apr 19 19:16:09 2013 UTC (12 years, 4 months ago) by michael
File length: 6693 byte(s)
Diff to previous 1793 , to selected 8310
- 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 (12 years, 4 months ago) by michael
File length: 6743 byte(s)
Diff to previous 1592 , to selected 8310
- Replaced all occurrences of ircsprintf with sprintf/snprintf
  and killed sprintf_irc.(c|h)

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

Revision 1446 - (view) (annotate) - [select for diffs]
Modified Mon Jun 25 20:05:12 2012 UTC (13 years, 2 months ago) by michael
Original Path: ircd-hybrid-8/src/motd.c
File length: 6789 byte(s)
Diff to previous 1325 , to selected 8310
- Removed OMOTD
--- Diese und die folgenden Zeilen werden ignoriert --

M    include/defaults.h
M    include/conf.h
M    include/numeric.h
M    include/motd.h
M    src/s_user.c
M    src/messages.tab
M    src/motd.c
M    src/ircd.c
M    modules/Makefile.in
M    modules/m_challenge.c
M    modules/m_oper.c
D    modules/m_omotd.c
M    modules/m_rehash.c
M    modules/Makefile.am
M    NEWS

Revision 1325 - (view) (annotate) - [select for diffs]
Modified Sat Mar 31 10:29:02 2012 UTC (13 years, 4 months ago) by michael
Original Path: ircd-hybrid-8/src/motd.c
File length: 7363 byte(s)
Diff to previous 1309 , to selected 8310
- Get rid of fileio.c. Replace some ircsprintf() with snprintf() while on it

Revision 1309 - (view) (annotate) - [select for diffs]
Modified Sun Mar 25 11:24:18 2012 UTC (13 years, 5 months ago) by michael
Original Path: ircd-hybrid-8/src/motd.c
File length: 7388 byte(s)
Diff to previous 1156 , to selected 8310
- 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 1156 - (view) (annotate) - [select for diffs]
Modified Tue Aug 9 20:29:20 2011 UTC (14 years ago) by michael
Original Path: ircd-hybrid-8/src/motd.c
File length: 7390 byte(s)
Diff to previous 1155 , to selected 8310
- create ircd-hybrid-8 "branch"

Revision 1155 - (view) (annotate) - [select for diffs]
Modified Tue Aug 9 20:27:45 2011 UTC (14 years ago) by michael
Original Path: ircd-hybrid/src/motd.c
File length: 7390 byte(s)
Diff to previous 1029 , to selected 8310
- recreate "trunk"

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

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

Revision 34 - (view) (annotate) - [select for diffs]
Modified Sun Oct 2 21:05:51 2005 UTC (19 years, 10 months ago) by lusky
Original Path: ircd-hybrid-7.2/src/motd.c
File length: 7391 byte(s)
Diff to previous 33 , to selected 8310
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 (19 years, 10 months ago) by knight
Original Path: ircd-hybrid/src/motd.c
File length: 7391 byte(s)
Diff to previous 32 , to selected 8310
- svn:keywords

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

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

Revision 30 - (view) (annotate) - [select for diffs]
Added Sun Oct 2 20:03:27 2005 UTC (19 years, 10 months ago) by adx
Original Path: ircd-hybrid/src/motd.c
File length: 7434 byte(s)
Diff to selected 8310
- 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