ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/branches/8.2.x/modules/m_whois.c
Revision 9156 - (view) (annotate) - [select for diffs]
Modified Mon Jan 13 14:51:47 2020 UTC (6 years, 6 months ago) by michael
File length: 10782 byte(s)
Diff to previous 9102
- Replaced most occurences of 'SSL' with 'TLS'

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

Revision 9082 - (view) (annotate) - [select for diffs]
Modified Sun Oct 13 09:58:37 2019 UTC (6 years, 9 months ago) by michael
File length: 10779 byte(s)
Diff to previous 9078
- Rename struct Membership to ChannelMember
- Rename Channel::last_knock to last_knock_time
- Rename Channel::last_invite to last_invite_time
- Rename chptr to channel

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

Revision 8918 - (view) (annotate) - [select for diffs]
Modified Mon Apr 22 09:51:16 2019 UTC (7 years, 3 months ago) by michael
File length: 10796 byte(s)
Diff to previous 8902
- Should be using monotonic clock almost everywhere now; sort out mixture and misuse of 'firsttime', 'lasttime' and 'since' in the Connection structure

Revision 8902 - (view) (annotate) - [select for diffs]
Modified Sun Apr 21 20:41:04 2019 UTC (7 years, 3 months ago) by michael
File length: 10793 byte(s)
Diff to previous 8751
- Make more timers use monotonic time

Revision 8751 - (view) (annotate) - [select for diffs]
Modified Tue Jan 1 11:06:50 2019 UTC (7 years, 6 months ago) by michael
File length: 10755 byte(s)
Diff to previous 8718
- Update copyright years

Revision 8718 - (view) (annotate) - [select for diffs]
Modified Mon Dec 10 18:59:35 2018 UTC (7 years, 7 months ago) by michael
File length: 10755 byte(s)
Diff to previous 8655
- m_whois.c:whois_person(): make 'callerid' use bool

Revision 8655 - (view) (annotate) - [select for diffs]
Modified Sun Nov 11 20:18:54 2018 UTC (7 years, 8 months ago) by michael
File length: 10757 byte(s)
Diff to previous 8604
- Make use of the bool data type in some places

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

Revision 8483 - (view) (annotate) - [select for diffs]
Modified Wed Apr 4 15:07:19 2018 UTC (8 years, 3 months ago) by michael
File length: 10747 byte(s)
Diff to previous 8480
- Move svstag related code into its own files

Revision 8480 - (view) (annotate) - [select for diffs]
Modified Wed Apr 4 14:17:30 2018 UTC (8 years, 3 months ago) by michael
File length: 10720 byte(s)
Diff to previous 8430
- m_whois.c:whois_person(): services clients are now tagged with 'is a Network Service' in "WHOIS"

Revision 8430 - (view) (annotate) - [select for diffs]
Modified Tue Mar 27 18:48:40 2018 UTC (8 years, 3 months ago) by michael
File length: 10479 byte(s)
Diff to previous 8280
- Stylistic changes

Revision 8280 - (view) (annotate) - [select for diffs]
Modified Tue Feb 20 19:30:33 2018 UTC (8 years, 4 months ago) by michael
File length: 10486 byte(s)
Diff to previous 8213
- Update copyright years

Revision 8213 - (view) (annotate) - [select for diffs]
Modified Sun Apr 16 11:42:51 2017 UTC (9 years, 3 months ago) by michael
File length: 10486 byte(s)
Diff to previous 7970
- Store real host information in Client.realhost and extend the UID message to send the actual host.
  This allows operators to see the real host of a client in /whois and /whowas.

Revision 7970 - (view) (annotate) - [select for diffs]
Modified Mon Mar 13 21:55:33 2017 UTC (9 years, 4 months ago) by michael
File length: 10482 byte(s)
Diff to previous 7952
- Cleanup some bad mess in mo_trace(). This also fixes some bug where we would get RPL_TRACELINK replies with
  "ac2ptr_is_NULL!!" from remote servers including SIDs or UIDs.

Revision 7952 - (view) (annotate) - [select for diffs]
Modified Thu Mar 2 18:02:12 2017 UTC (9 years, 4 months ago) by michael
File length: 10512 byte(s)
Diff to previous 7925
- Rename hunt_server() to server_hunt()

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

Revision 7871 - (view) (annotate) - [select for diffs]
Modified Wed Nov 9 20:13:07 2016 UTC (9 years, 8 months ago) by michael
File length: 10512 byte(s)
Diff to previous 7757
- Style corrections in several places

Revision 7757 - (view) (annotate) - [select for diffs]
Modified Mon Oct 3 17:54:19 2016 UTC (9 years, 9 months ago) by michael
File length: 10512 byte(s)
Diff to previous 7686
- m_whois.c:whois_person(): re-add /whois notice. Goes to user mode +y

Revision 7686 - (view) (annotate) - [select for diffs]
Modified Thu Aug 18 17:32:04 2016 UTC (9 years, 11 months ago) by michael
File length: 10254 byte(s)
Diff to previous 7329
- Remove excessive const keyword on dlink_node pointers

Revision 7329 - (view) (annotate) - [select for diffs]
Modified Thu Feb 18 21:07:50 2016 UTC (10 years, 5 months ago) by michael
File length: 10267 byte(s)
Diff to previous 7007
- 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 (10 years, 6 months ago) by michael
File length: 10264 byte(s)
Diff to previous 6981
- Update copyright years

Revision 6981 - (view) (annotate) - [select for diffs]
Modified Wed Dec 23 19:49:00 2015 UTC (10 years, 6 months ago) by michael
File length: 10264 byte(s)
Diff to previous 6920
- Cache channel name lengths

Revision 6920 - (view) (annotate) - [select for diffs]
Modified Thu Dec 10 13:07:22 2015 UTC (10 years, 7 months ago) by michael
File length: 10268 byte(s)
Diff to previous 6919
- Removed client->account backwards compatibility hacks for 8.1

Revision 6919 - (view) (annotate) - [select for diffs]
Modified Thu Dec 10 12:59:48 2015 UTC (10 years, 7 months ago) by michael
File length: 10299 byte(s)
Diff to previous 6254
- Removed backwards compatibility hack for older servers that allowed client->sockhost being "0"

Revision 6254 - (view) (annotate) - [select for diffs]
Modified Fri Jul 10 15:40:24 2015 UTC (11 years ago) by michael
File length: 10361 byte(s)
Diff to previous 5880
- m_whois.c: don't allow remote WHOIS lookups with the target being a UID. Removed IsDigit test.

Revision 5880 - (view) (annotate) - [select for diffs]
Modified Sun May 3 16:01:42 2015 UTC (11 years, 2 months ago) by michael
File length: 10365 byte(s)
Diff to previous 5863
- 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 (11 years, 2 months ago) by michael
File length: 10236 byte(s)
Diff to previous 5630
- Removed useless zero initializers from the module_entry as suggested by Adam

Revision 5630 - (view) (annotate) - [select for diffs]
Modified Sun Mar 1 12:18:47 2015 UTC (11 years, 4 months ago) by michael
File length: 10324 byte(s)
Diff to previous 5559
- WHOWAS now shows IP addresses to irc operators
- Changed RPL_WHOISACTUALLY numeric string. In the future it will also show the
  *real* hostname once we distinguish between spoofs/vhosts and real hosts

Revision 5559 - (view) (annotate) - [select for diffs]
Modified Sat Feb 14 19:39:06 2015 UTC (11 years, 5 months ago) by michael
File length: 10263 byte(s)
Diff to previous 5543
- Finish basic SVSTAG implementatio
- Added oper::whois configuration option which allows to override the default
  RPL_WHOISOPERATOR numeric string shown in /whois.

Revision 5543 - (view) (annotate) - [select for diffs]
Modified Thu Feb 12 13:40:13 2015 UTC (11 years, 5 months ago) by michael
File length: 9652 byte(s)
Diff to previous 5527
- Renamed idle_time_get() to client_get_idle_time()

Revision 5527 - (view) (annotate) - [select for diffs]
Modified Wed Feb 11 17:41:15 2015 UTC (11 years, 5 months ago) by michael
File length: 9645 byte(s)
Diff to previous 5518
- m_whois.c: operators may now see certificate fingerprints, user modes and hidden channels as well.
  This used to be admin only.

Revision 5518 - (view) (annotate) - [select for diffs]
Modified Mon Feb 9 20:31:13 2015 UTC (11 years, 5 months ago) by michael
File length: 9648 byte(s)
Diff to previous 5401
- m_whois.c:whois_person(): constification

Revision 5401 - (view) (annotate) - [select for diffs]
Modified Tue Jan 20 15:12:22 2015 UTC (11 years, 6 months ago) by michael
File length: 9640 byte(s)
Diff to previous 5393
- m_mode.c, m_whois.c: added missing HasUMode test

Revision 5393 - (view) (annotate) - [select for diffs]
Modified Tue Jan 20 13:42:21 2015 UTC (11 years, 6 months ago) by michael
File length: 9597 byte(s)
Diff to previous 5346
- Minor cleanups and optimizations to usermode handling

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

Revision 4968 - (view) (annotate) - [select for diffs]
Modified Mon Dec 1 14:36:42 2014 UTC (11 years, 7 months ago) by michael
File length: 9622 byte(s)
Diff to previous 4820
- general::hide_spoof_ips is now deprecated

Revision 4820 - (view) (annotate) - [select for diffs]
Modified Sat Nov 1 16:50:43 2014 UTC (11 years, 8 months ago) by michael
File length: 9826 byte(s)
Diff to previous 4816
- Renamed Client::svid to Client::account

Revision 4816 - (view) (annotate) - [select for diffs]
Modified Sat Nov 1 15:29:49 2014 UTC (11 years, 8 months ago) by michael
File length: 9817 byte(s)
Diff to previous 4766
- Renamed variables

Revision 4766 - (view) (annotate) - [select for diffs]
Modified Sun Oct 19 18:01:04 2014 UTC (11 years, 9 months ago) by michael
File length: 9797 byte(s)
Diff to previous 4758
- /WHOWAS now shows the name of the services account a user was logged in
- Prepare whois_person() for target_p->svid[0] being '*' for user that aren't logged into a services account
- Update NEWS

Revision 4758 - (view) (annotate) - [select for diffs]
Modified Sun Oct 19 10:54:27 2014 UTC (11 years, 9 months ago) by michael
File length: 9763 byte(s)
Diff to previous 4694
- Improved RPL_LOAD2HI numeric

Revision 4694 - (view) (annotate) - [select for diffs]
Modified Fri Oct 3 14:23:59 2014 UTC (11 years, 9 months ago) by michael
File length: 9754 byte(s)
Diff to previous 4617
- m_whois.c:whois_person(): removed useless test on target_p->sockhost[0] which
  can't be NUL now that TS6 is mandatory

Revision 4617 - (view) (annotate) - [select for diffs]
Modified Sun Sep 7 13:00:55 2014 UTC (11 years, 10 months ago) by michael
File length: 9780 byte(s)
Diff to previous 4589
- Renamed Channel::chname to Channel::name

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

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

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

Revision 4341 - (view) (annotate) - [select for diffs]
Modified Sat Aug 2 16:53:48 2014 UTC (11 years, 11 months ago) by michael
File length: 9775 byte(s)
Diff to previous 4299
- Renamed structures to meet code conventions

Revision 4299 - (view) (annotate) - [select for diffs]
Modified Sun Jul 20 13:51:28 2014 UTC (12 years ago) by michael
File length: 9773 byte(s)
Diff to previous 3514
- Fixed typos all over the place

Revision 3514 - (view) (annotate) - [select for diffs]
Modified Mon May 12 16:31:21 2014 UTC (12 years, 2 months ago) by michael
File length: 9772 byte(s)
Diff to previous 3507
- Added usermode +p which hides channel list in WHOIS

Revision 3507 - (view) (annotate) - [select for diffs]
Modified Sun May 11 17:05:55 2014 UTC (12 years, 2 months ago) by michael
File length: 9406 byte(s)
Diff to previous 3377
- Added usermode +q which hides idle and signon time in WHOIS

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

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

Revision 3295 - (view) (annotate) - [select for diffs]
Modified Thu Apr 10 18:59:33 2014 UTC (12 years, 3 months ago) by michael
Original Path: ircd-hybrid/trunk/modules/m_whois.c
File length: 9293 byte(s)
Diff to previous 3283
- doxygen

Revision 3283 - (view) (annotate) - [select for diffs]
Modified Tue Apr 8 16:39:50 2014 UTC (12 years, 3 months ago) by michael
Original Path: ircd-hybrid/trunk/modules/m_whois.c
File length: 8416 byte(s)
Diff to previous 3215
- Style corrections/constification

Revision 3215 - (view) (annotate) - [select for diffs]
Modified Tue Mar 25 19:23:15 2014 UTC (12 years, 3 months ago) by michael
Original Path: ircd-hybrid/trunk/modules/m_whois.c
File length: 8427 byte(s)
Diff to previous 3160
- Fixed some comments; cleaned up style here and there

Revision 3160 - (view) (annotate) - [select for diffs]
Modified Sat Mar 15 17:47:46 2014 UTC (12 years, 4 months ago) by michael
Original Path: ircd-hybrid/trunk/modules/m_whois.c
File length: 8433 byte(s)
Diff to previous 3156
- Minor corrections to -r3156 [Removed client_p pointers from everywhere]

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

Revision 3109 - (view) (annotate) - [select for diffs]
Modified Thu Mar 6 19:25:12 2014 UTC (12 years, 4 months ago) by michael
Original Path: ircd-hybrid/trunk/modules/m_whois.c
File length: 8526 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 (12 years, 4 months ago) by michael
Original Path: ircd-hybrid/trunk/modules/m_whois.c
File length: 9100 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
Original Path: ircd-hybrid/trunk/modules/m_whois.c
File length: 9112 byte(s)
Diff to previous 2784
- Clean up all files in modules/ (fixed indentation, removed whitespaces/tabs)
- Fixed copyright years
- Made module handlers int type for later use

Revision 2784 - (view) (annotate) - [select for diffs]
Modified Mon Jan 6 19:12:19 2014 UTC (12 years, 6 months ago) by michael
Original Path: ircd-hybrid/trunk/modules/m_whois.c
File length: 9016 byte(s)
Diff to previous 2762
- m_whois.c:do_whois(): get it to work with UIDs. Spotted and fixed by Adam.

Revision 2762 - (view) (annotate) - [select for diffs]
Modified Mon Jan 6 13:28:49 2014 UTC (12 years, 6 months ago) by michael
Original Path: ircd-hybrid/trunk/modules/m_whois.c
File length: 9027 byte(s)
Diff to previous 2748
- m_whois.c:whois_person(): removed /whois notice

Revision 2748 - (view) (annotate) - [select for diffs]
Modified Sun Jan 5 19:20:09 2014 UTC (12 years, 6 months ago) by michael
Original Path: ircd-hybrid/trunk/modules/m_whois.c
File length: 9386 byte(s)
Diff to previous 2727
- Fixed server name leak for hidden servers in /who, /whois and /whowas

Revision 2727 - (view) (annotate) - [select for diffs]
Modified Sun Dec 29 13:28:03 2013 UTC (12 years, 6 months ago) by michael
Original Path: ircd-hybrid/trunk/modules/m_whois.c
File length: 9345 byte(s)
Diff to previous 2580
- Cleaned up RPL_WHOISADMIN hack

Revision 2580 - (view) (annotate) - [select for diffs]
Modified Wed Nov 20 20:46:57 2013 UTC (12 years, 8 months ago) by michael
Original Path: ircd-hybrid/trunk/modules/m_whois.c
File length: 9259 byte(s)
Diff to previous 2536
- Better distinguishing between usermode +g and +G in both /whois and /privmsg
  as suggested by Adam <adam@anope.org>

Revision 2536 - (view) (annotate) - [select for diffs]
Modified Wed Nov 13 15:13:08 2013 UTC (12 years, 8 months ago) by michael
Original Path: ircd-hybrid/trunk/modules/m_whois.c
File length: 9044 byte(s)
Diff to previous 2529
- m_whois.c: only administrators may see a client's certificate finger print

Revision 2529 - (view) (annotate) - [select for diffs]
Modified Fri Nov 8 17:49:24 2013 UTC (12 years, 8 months ago) by michael
Original Path: ircd-hybrid/trunk/modules/m_whois.c
File length: 9043 byte(s)
Diff to previous 2511
- Administrators are now able to see user modes a user has set via /whois

Revision 2511 - (view) (annotate) - [select for diffs]
Modified Sun Oct 27 18:56:53 2013 UTC (12 years, 8 months ago) by michael
Original Path: ircd-hybrid/trunk/modules/m_whois.c
File length: 8663 byte(s)
Diff to previous 2508
- Added usermode +W. Users connected via a webirc gateway get this
  mode set by servers.
- /WHOIS now shows whether a client is connected via a webirc
  gateway

Revision 2508 - (view) (annotate) - [select for diffs]
Modified Sun Oct 27 16:32:15 2013 UTC (12 years, 8 months ago) by michael
Original Path: ircd-hybrid/trunk/modules/m_whois.c
File length: 8459 byte(s)
Diff to previous 2478
- Admins may now see +s channels a user is in with /WHOIS

Revision 2478 - (view) (annotate) - [select for diffs]
Modified Wed Oct 23 14:04:31 2013 UTC (12 years, 8 months ago) by michael
Original Path: ircd-hybrid/trunk/modules/m_whois.c
File length: 8363 byte(s)
Diff to previous 2354
- Stole ircu's RPL_WHOISACCOUNT numeric

Revision 2354 - (view) (annotate) - [select for diffs]
Modified Thu Jul 4 11:47:20 2013 UTC (13 years ago) by michael
Original Path: ircd-hybrid/trunk/modules/m_whois.c
File length: 8186 byte(s)
Diff to previous 2246
- m_whois.c: removed legacy code

Revision 2246 - (view) (annotate) - [select for diffs]
Modified Sun Jun 16 10:48:39 2013 UTC (13 years, 1 month ago) by michael
Original Path: ircd-hybrid/trunk/modules/m_whois.c
File length: 8328 byte(s)
Diff to previous 2229
- Add usermode 'S' (client is connecte via SSL/TLS).
  Allows services to keep track of what users are connected via SSL,
  and allows to see ssl-status of remote clients in a /whois.

Revision 2229 - (view) (annotate) - [select for diffs]
Modified Thu Jun 13 20:10:27 2013 UTC (13 years, 1 month ago) by michael
Original Path: ircd-hybrid/trunk/modules/m_whois.c
File length: 8362 byte(s)
Diff to previous 2228
- Cleanups and fixes to previous commit -r2228

Revision 2228 - (view) (annotate) - [select for diffs]
Modified Thu Jun 13 19:46:30 2013 UTC (13 years, 1 month ago) by michael
Original Path: ircd-hybrid/trunk/modules/m_whois.c
File length: 8378 byte(s)
Diff to previous 2224
- Implement certificate fingerprint validation for oper{} and connect{} blocks.
  Some code taken from oftc-hybrid. Hello, stu!

Revision 2224 - (view) (annotate) - [select for diffs]
Modified Wed Jun 12 18:10:43 2013 UTC (13 years, 1 month ago) by michael
Original Path: ircd-hybrid/trunk/modules/m_whois.c
File length: 8128 byte(s)
Diff to previous 2196
- white-space commit/style corrections

Revision 2196 - (view) (annotate) - [select for diffs]
Modified Tue Jun 4 18:30:12 2013 UTC (13 years, 1 month ago) by michael
Original Path: ircd-hybrid/trunk/modules/m_whois.c
File length: 8086 byte(s)
Diff to previous 2017
- Moved disable_remote_command configuration directive from
  general{} block to serverhide{] block

Revision 2017 - (view) (annotate) - [select for diffs]
Modified Sun May 12 15:36:43 2013 UTC (13 years, 2 months ago) by michael
Original Path: ircd-hybrid/trunk/modules/m_whois.c
File length: 8076 byte(s)
Diff to previous 1997
- Whitespace commit

Revision 1997 - (view) (annotate) - [select for diffs]
Modified Sat May 11 17:35:07 2013 UTC (13 years, 2 months ago) by michael
Original Path: ircd-hybrid/trunk/modules/m_whois.c
File length: 8077 byte(s)
Diff to previous 1874
- Mostly style cleanups & whitespace changes

Revision 1874 - (view) (annotate) - [select for diffs]
Modified Sat Apr 27 09:27:34 2013 UTC (13 years, 2 months ago) by michael
Original Path: ircd-hybrid/trunk/modules/m_whois.c
File length: 8207 byte(s)
Diff to previous 1834
- WHOIS may no longer accept wildcards

Revision 1834 - (view) (annotate) - [select for diffs]
Modified Fri Apr 19 19:50:27 2013 UTC (13 years, 3 months ago) by michael
Original Path: ircd-hybrid/trunk/modules/m_whois.c
File length: 10938 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 (13 years, 3 months ago) by michael
Original Path: ircd-hybrid/trunk/modules/m_whois.c
File length: 10768 byte(s)
Diff to previous 1811
- 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 1811 - (view) (annotate) - [select for diffs]
Modified Fri Apr 12 08:32:08 2013 UTC (13 years, 3 months ago) by michael
Original Path: ircd-hybrid/trunk/modules/m_whois.c
File length: 10938 byte(s)
Diff to previous 1793
- Forward-port -r1810 [m_whois.c: fixed bug where TS5 servers would send an
  empty RPL_WHOISACTUALLY numeric]

Revision 1793 - (view) (annotate) - [select for diffs]
Modified Sun Mar 31 14:06:08 2013 UTC (13 years, 3 months ago) by michael
Original Path: ircd-hybrid/trunk/modules/m_whois.c
File length: 10913 byte(s)
Diff to previous 1783
- Replaced all occurrences of ircsprintf with sprintf/snprintf
  and killed sprintf_irc.(c|h)

Revision 1783 - (view) (annotate) - [select for diffs]
Modified Thu Jan 24 19:26:51 2013 UTC (13 years, 5 months ago) by michael
Original Path: ircd-hybrid/trunk/modules/m_whois.c
File length: 10941 byte(s)
Diff to previous 1652
- Forward-port -r1774:
  - Configuration parser now does support 'year' and 'month' units
  - Add support for fake idle times to /whois. Known from csircd, this
    adds min_idle, and max_idle configuration directives to class{} blocks

Revision 1652 - (view) (annotate) - [select for diffs]
Modified Tue Nov 13 20:28:53 2012 UTC (13 years, 8 months ago) by michael
Original Path: ircd-hybrid/trunk/modules/m_whois.c
File length: 10957 byte(s)
Diff to previous 1592
- changed match() polarity. match() now returns 0 on match and 1 on non-match
  This cleans up several places where function pointers of different matching
  functions like irccmp/strcmp/match are passed to other functions.
- added improved collapse() to match.c

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

Revision 1549 - (view) (annotate) - [select for diffs]
Modified Mon Oct 1 18:11:11 2012 UTC (13 years, 9 months ago) by michael
Original Path: ircd-hybrid-8/modules/m_whois.c
File length: 10958 byte(s)
Diff to previous 1547
- Removed general::kline_with_reason configuration options. It's now enabled
  by default
- Removed remnants of the broken reject holding code

Revision 1547 - (view) (annotate) - [select for diffs]
Modified Sun Sep 30 17:50:03 2012 UTC (13 years, 9 months ago) by michael
Original Path: ircd-hybrid-8/modules/m_whois.c
File length: 11129 byte(s)
Diff to previous 1483
- Removed general::use_whois_actually configuration directive. This is
  now enabled by default

Revision 1483 - (view) (annotate) - [select for diffs]
Modified Wed Jul 25 19:15:48 2012 UTC (13 years, 11 months ago) by michael
Original Path: ircd-hybrid-8/modules/m_whois.c
File length: 11187 byte(s)
Diff to previous 1474
- Made Client::away a fixed-size array at the expense of a somewhat higher
  memory consumption

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_whois.c
File length: 11192 byte(s)
Diff to previous 1403
- removed &localchannels

Revision 1403 - (view) (annotate) - [select for diffs]
Modified Wed May 9 19:11:32 2012 UTC (14 years, 2 months ago) by michael
Original Path: ircd-hybrid-8/modules/m_whois.c
File length: 11335 byte(s)
Diff to previous 1333
- modules/m_whois.c: replace an irccmp with strcmp

Revision 1333 - (view) (annotate) - [select for diffs]
Modified Sun Apr 1 16:28:53 2012 UTC (14 years, 3 months ago) by michael
Original Path: ircd-hybrid-8/modules/m_whois.c
File length: 11370 byte(s)
Diff to previous 1309
- m_whois.c: fixed displaying of RPL_TARGUMODEG

Revision 1309 - (view) (annotate) - [select for diffs]
Modified Sun Mar 25 11:24:18 2012 UTC (14 years, 3 months ago) by michael
Original Path: ircd-hybrid-8/modules/m_whois.c
File length: 11374 byte(s)
Diff to previous 1294
- 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 1294 - (view) (annotate) - [select for diffs]
Modified Wed Feb 22 20:48:30 2012 UTC (14 years, 4 months ago) by michael
Original Path: ircd-hybrid-8/modules/m_whois.c
File length: 11376 byte(s)
Diff to previous 1243
- Add user mode +H which simply hides operator status to other users.
  This solution replaces current method of hidding operator status where the
  admin mode is not sent to other servers unless hidden_administrator is disabled.
- m_who() now takes care whether an operator is hidden or not

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_whois.c
File length: 11342 byte(s)
Diff to previous 1241
- 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 1241 - (view) (annotate) - [select for diffs]
Modified Thu Sep 29 20:26:09 2011 UTC (14 years, 9 months ago) by michael
Original Path: ircd-hybrid-8/modules/m_whois.c
File length: 11425 byte(s)
Diff to previous 1233
- move firsttime, since, and lasttime Client struct members to LocalUser struct
- m_watch.c: show_watch() now properly reports signon times. This also fixes
  an invalid signon time of zero for remote clients.

Revision 1233 - (view) (annotate) - [select for diffs]
Modified Thu Sep 22 20:53:07 2011 UTC (14 years, 10 months ago) by michael
Original Path: ircd-hybrid-8/modules/m_whois.c
File length: 11412 byte(s)
Diff to previous 1230
- replace bunch of ircsprintf with snprintf

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_whois.c
File length: 11386 byte(s)
Diff to previous 1225
- cleanup module loader. Make module api more flexible

Revision 1225 - (view) (annotate) - [select for diffs]
Modified Sun Sep 18 12:11:56 2011 UTC (14 years, 10 months ago) by michael
Original Path: ircd-hybrid-8/modules/m_whois.c
File length: 11338 byte(s)
Diff to previous 1219
- m_whois.c: remove callbacks that previously has been used for WHOIS notices

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_whois.c
File length: 11723 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_whois.c
File length: 11554 byte(s)
Diff to previous 1176
- 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 1176 - (view) (annotate) - [select for diffs]
Modified Sun Aug 14 11:24:24 2011 UTC (14 years, 11 months ago) by michael
Original Path: ircd-hybrid-8/modules/m_whois.c
File length: 11548 byte(s)
Diff to previous 1169
- remove idle-time klines
- rename LocalUser.last to LocalUser.last_privmsg
- m_message.c: reset source_p->last_privmsg even if a client is messaging itself


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_whois.c
File length: 11540 byte(s)
Diff to previous 1164
- 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 1164 - (view) (annotate) - [select for diffs]
Modified Wed Aug 10 21:55:38 2011 UTC (14 years, 11 months ago) by michael
Original Path: ircd-hybrid-8/modules/m_whois.c
File length: 11535 byte(s)
Diff to previous 1162
- fix previous commit to m_whois.c

Revision 1162 - (view) (annotate) - [select for diffs]
Modified Wed Aug 10 21:26:33 2011 UTC (14 years, 11 months ago) by michael
Original Path: ircd-hybrid-8/modules/m_whois.c
File length: 11535 byte(s)
Diff to previous 1158
- don't report RPL_WHOISREGNICK for unregistered nicknames...


Revision 1158 - (view) (annotate) - [select for diffs]
Modified Wed Aug 10 19:46:00 2011 UTC (14 years, 11 months ago) by michael
Original Path: ircd-hybrid-8/modules/m_whois.c
File length: 11487 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 (14 years, 11 months ago) by michael
Original Path: ircd-hybrid-8/modules/m_whois.c
File length: 11380 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 (14 years, 11 months ago) by michael
Original Path: ircd-hybrid/modules/m_whois.c
File length: 11380 byte(s)
Diff to previous 1144
- recreate "trunk"

Revision 1144 - (view) (annotate) - [select for diffs]
Modified Tue Jul 26 19:33:54 2011 UTC (14 years, 11 months ago) by michael
Original Path: ircd-hybrid-7.3/modules/m_whois.c
File length: 11380 byte(s)
Diff to previous 1121
Added back STATS/TRACE/MOTD/ADMIN request notices. Removed
   spy_*_notice modules accordingly.


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

Revision 1114 - (view) (annotate) - [select for diffs]
Modified Mon Dec 20 20:33:05 2010 UTC (15 years, 7 months ago) by michael
Original Path: ircd-hybrid-7.3/modules/m_whois.c
File length: 11221 byte(s)
Diff to previous 1029
- Move RPL_ETRACE to messages.tab
- CHANGE RPL_WHOISSSL to use the 671 numeric

Revision 1029 - (view) (annotate) - [select for diffs]
Modified Sun Nov 8 13:10:50 2009 UTC (16 years, 8 months ago) by michael
Original Path: ircd-hybrid-7.3/modules/m_whois.c
File length: 11218 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 (16 years, 8 months ago) by michael
Original Path: ircd-hybrid/modules/m_whois.c
File length: 11218 byte(s)
Diff to previous 1011
- move ircd-hybrid-7.2 to trunk

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

Revision 885 - (view) (annotate) - [select for diffs]
Modified Wed Oct 31 18:09:24 2007 UTC (18 years, 8 months ago) by michael
Original Path: ircd-hybrid-7.2/modules/m_whois.c
File length: 11257 byte(s)
Diff to previous 660
- 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 660 - (view) (annotate) - [select for diffs]
Modified Fri Jun 9 18:51:22 2006 UTC (20 years, 1 month ago) by adx
Original Path: ircd-hybrid-7.2/modules/m_whois.c
File length: 11798 byte(s)
Diff to previous 472
+ backported numeric changes

Revision 472 - (view) (annotate) - [select for diffs]
Modified Fri Feb 17 10:13:25 2006 UTC (20 years, 5 months ago) by michael
Original Path: ircd-hybrid-7.2/modules/m_whois.c
File length: 11629 byte(s)
Diff to previous 280
- Fixed RPL_WHOISACTUALLY as reported by CoolCold

Revision 280 - (view) (annotate) - [select for diffs]
Modified Wed Nov 23 23:09:48 2005 UTC (20 years, 8 months ago) by db
Original Path: ircd-hybrid-7.2/modules/m_whois.c
File length: 11641 byte(s)
Diff to previous 269
- Back port whois fix from HEAD


Revision 269 - (view) (annotate) - [select for diffs]
Modified Mon Nov 14 19:39:09 2005 UTC (20 years, 8 months ago) by adx
Original Path: ircd-hybrid-7.2/modules/m_whois.c
File length: 11727 byte(s)
Diff to previous 268
+ more rate limiting fixes
+ update RELNOTES

Revision 268 - (view) (annotate) - [select for diffs]
Modified Mon Nov 14 11:02:39 2005 UTC (20 years, 8 months ago) by adx
Original Path: ircd-hybrid-7.2/modules/m_whois.c
File length: 11694 byte(s)
Diff to previous 93
+ add more load2hi protection
+ style fixes

Revision 93 - (view) (annotate) - [select for diffs]
Modified Sat Oct 8 11:24:01 2005 UTC (20 years, 9 months ago) by michael
Original Path: ircd-hybrid-7.2/modules/m_whois.c
File length: 11392 byte(s)
Diff to previous 34
- Fixed bug in m_whois() that would allow users to send a WHOIS to remote
  servers with an empty argument via "WHOIS someserver.org :"

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

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

Revision 31 - (view) (annotate) - [select for diffs]
Modified Sun Oct 2 20:34:05 2005 UTC (20 years, 9 months ago) by knight
Original Path: ircd-hybrid/modules/m_whois.c
File length: 11342 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 (20 years, 9 months ago) by adx
Original Path: ircd-hybrid/modules/m_whois.c
File length: 11398 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