1 # do not edit -- automatically generated by arch changelog
2 # arch-tag: automatic-ChangeLog--srvx@srvx.net--2006/srvx--devo--1.3
5 2006-12-23 05:27:23 GMT Michael Poole <mdpoole@troilus.org> patch-71
8 Update PostgreSQL patch schema.
10 srvx--devo--1.3--patch-71
12 patches/log-pgsql.txt: Update to include HelpServ tables.
15 ChangeLog patches/log-pgsql.txt
18 2006-12-23 05:11:47 GMT Michael Poole <mdpoole@troilus.org> patch-70
21 Fix typo in MODE_APASS generation.
23 srvx--devo--1.3--patch-70
25 src/proto-p10.c (mod_chanmode_announce): Fix typo.
28 ChangeLog src/proto-p10.c
31 2006-10-27 01:59:57 GMT Michael Poole <mdpoole@troilus.org> patch-69
34 Don't re-allocated a language that already exists.
36 srvx--devo--1.3--patch-69
38 src/helpfile.c (language_read_list): If the language already exists, do
42 ChangeLog src/helpfile.c
45 2006-10-27 01:25:18 GMT Michael Poole <mdpoole@troilus.org> patch-68
48 Remove ioset engine update call that could read after free().
50 srvx--devo--1.3--patch-68
52 src/ioset.c (ioset_connect): If the connect fails immediately, do not try
53 to update the fd after closing it.
59 2006-10-27 01:06:02 GMT Michael Poole <mdpoole@troilus.org> patch-67
62 Allow languages/strings.db to override builtin strings.
64 srvx--devo--1.3--patch-67
66 src/helpfile.c (language_read): Add space before "parent".
67 (language_read_list): Explicitly skip the file named "strings.db".
68 (helpfile_read_languages): New function.
69 (helpfile_finalize): Register it as a conf-reload function.
72 ChangeLog src/helpfile.c
75 2006-10-27 00:47:30 GMT Michael Poole <mdpoole@troilus.org> patch-66
78 Support +I while we're adding modes (part 2) - the missing files.
80 srvx--devo--1.3--patch-66
82 src/opserv.c (cmd_whois): Test no-idle mode.
84 src/proto-p10.c (irc_user): Check for no-idle mode.
85 (mod_usermode): Check for +I flag.
88 ChangeLog src/hash.h src/opserv.c
91 2006-10-27 00:44:35 GMT Michael Poole <mdpoole@troilus.org> patch-65
94 Support +I while we're adding modes..
96 srvx--devo--1.3--patch-65
98 src/hash.c (FLAGS_NOIDLE): New macro for +I (hide idle time) mode.
99 (IsNoIdle): New macro to test it.
101 src/opserv.c (cmd_whois): Test no-idle mode.
103 src/proto-p10.c (irc_user): Check for no-idle mode.
104 (mod_usermode): Check for +I flag.
107 ChangeLog src/proto-p10.c
110 2006-10-27 00:35:00 GMT Michael Poole <mdpoole@troilus.org> patch-64
113 Make maintainer-mode use C89 mode.
115 srvx--devo--1.3--patch-64
117 configure.in (CFLAGS): Use -ansi in maintainer mode.
118 (AC_C_INLINE): Test after setting -Werror.
120 src/chanserv.c (cmd_adduser): Fix comment formatting.
121 (cmd_clvl): Likewise.
122 (cmd_deluser): Likewise.
125 ChangeLog configure.in src/chanserv.c
128 2006-10-27 00:21:32 GMT Michael Poole <mdpoole@troilus.org> patch-63
131 Pull ThiefMaster's patch-3..5.
133 srvx--devo--1.3--patch-63
137 * thiefmaster@gamesurge.net--2006/srvx--devo--1.3--base-0
138 tag of srvx@srvx.net--2006/srvx--devo--1.3--patch-58
140 * thiefmaster@gamesurge.net--2006/srvx--devo--1.3--patch-3
141 Implement complete remote whois.
143 * thiefmaster@gamesurge.net--2006/srvx--devo--1.3--patch-4
144 Improve override logging and ignore godmode in !trim.
146 * thiefmaster@gamesurge.net--2006/srvx--devo--1.3--patch-5
147 Announce ounregisters to staff via Global.
150 ChangeLog src/chanserv.c src/hash.h src/modcmd.c src/modcmd.h
151 src/nickserv.c src/opserv.c src/proto-p10.c src/proto.h
154 thiefmaster@gamesurge.net--2006/srvx--devo--1.3--base-0
155 thiefmaster@gamesurge.net--2006/srvx--devo--1.3--patch-3
156 thiefmaster@gamesurge.net--2006/srvx--devo--1.3--patch-4
157 thiefmaster@gamesurge.net--2006/srvx--devo--1.3--patch-5
160 2006-10-26 23:44:10 GMT Michael Poole <mdpoole@troilus.org> patch-62
163 Allow 900+ users to get full accountinfo.
165 srvx--devo--1.3--patch-62
167 src/nickserv.c (cmd_handleinfo): Check for opserv access before checking
168 for an outranked oper.
171 ChangeLog src/nickserv.c
174 2006-10-26 23:41:14 GMT Michael Poole <mdpoole@troilus.org> patch-61
177 Fix irc_pton() sense for hostscan command.
179 srvx--devo--1.3--patch-61
181 src/mod-sockcheck.c (cmd_hostscan): Fix test for irc_pton() return value.
184 ChangeLog src/mod-sockcheck.c
187 2006-10-21 16:06:47 GMT Michael Poole <mdpoole@troilus.org> patch-60
190 Various I/O cleanups and fixes.
192 srvx--devo--1.3--patch-60
194 src/ioset.c (ioset_add): Set FD_CLOEXEC flag on all managed sockets.
195 (ioset_try_write): Tidy formatting.
196 (ioset_close): Add another bit to "os_close".
198 src/proto-common.c (close_socket): Pass the new bit to ioset_close().
201 ChangeLog src/ioset.c src/proto-common.c
204 2006-10-21 16:04:19 GMT Michael Poole <mdpoole@troilus.org> patch-59
207 Add 'tell' command; update copyright message.
209 srvx--devo--1.3--patch-59
211 src/modcmd.c (cmd_version): Update copyright years. Move the multi-line
212 credits to a separate message and make it actually send properly.
213 (cmd_tell): New command.
214 (modcmd_init): Register cmd_tell.
217 ChangeLog src/modcmd.c
220 2006-10-07 00:03:52 GMT Michael Poole <mdpoole@troilus.org> patch-58
223 Fix a (tiny) memory leak in mod-sockcheck.c.
225 srvx--devo--1.3--patch-58
227 src/mod-sockcheck.c (sockcheck_begin_test): Make io_fd assignment
229 (sockcheck_read_conf): Free the addrinfo we get.
232 ChangeLog src/mod-sockcheck.c
235 2006-10-06 23:18:58 GMT Michael Poole <mdpoole@troilus.org> patch-57
238 Fix sending P10 bursts with many bans.
240 srvx--devo--1.3--patch-57
242 src/proto-p10.c (irc_burst): Only send modes and user list once.
245 ChangeLog src/proto-p10.c
248 2006-10-06 23:16:58 GMT Michael Poole <mdpoole@troilus.org> patch-56
251 Remove "wants_reads" field from struct io_fd.
253 srvx--devo--1.3--patch-56
255 Everybody wants read information, so give it to them!
257 src/ioset-epoll.c (ioset_epoll_events): Make EPOLLIN unconditional.
259 src/ioset-impl.h (fd_wants_reads): Delete.
261 src/ioset-select.c (ioset_select_loop): Unconditionally set read bit for fd.
263 src/ioset.c (ioset_add): Add fd to engine after marking it non-blocking.
264 (ioset_buffered_reads): Remove check for fd->wants_reads.
266 src/ioset.h (struct io_fd): Delete "wants_reads" field.
268 src/mod-qserver.c (qserver_readable): Add missing newline.
269 (qserver_accept): Delete assignment to fd->wants_reads.
271 src/mod-sockcheck.c (sockcheck_connected): Delete assignment to
274 src/proto-common.c (create_socket_client): Delete assignment to
278 ChangeLog src/ioset-epoll.c src/ioset-impl.h
279 src/ioset-select.c src/ioset.c src/ioset.h src/mod-qserver.c
280 src/mod-sockcheck.c src/proto-common.c
283 2006-10-06 23:12:20 GMT Michael Poole <mdpoole@troilus.org> patch-55
286 Fix detection of gettimeofday().
288 srvx--devo--1.3--patch-55
290 configure.in: Since we have a fallback for gettimeofday, move it in with
291 the functions for which we do.
294 ChangeLog configure.in
297 2006-10-04 01:41:05 GMT Michael Poole <mdpoole@troilus.org> patch-54
300 Make timeq_init() automatic.
302 srvx--devo--1.3--patch-54
304 src/main.c (main): Remove call to timeq_init().
306 src/timeq.h (timeq_init): Remove declaration.
308 src/timeq.c (timeq_cleanup): Assign NULL to timeq to handle late timeq_del() calls.
309 (timeq_init): Make static.
310 (timeq_next): If timeq is NULL, return a large positive number.
311 (timeq_add): If timeq is NULL, initialize it.
312 (timeq_del): If timeq is NULL, do nothing.
315 ChangeLog src/main.c src/timeq.c src/timeq.h
318 2006-10-04 01:37:40 GMT Michael Poole <mdpoole@troilus.org> patch-53
321 Allow log_module() to NULL log types.
323 srvx--devo--1.3--patch-53
325 src/log.c (log_module): To make cleanup easier, allow NULL log types.
331 2006-10-04 01:32:57 GMT Michael Poole <mdpoole@troilus.org> patch-52
334 Fix some startup-related glitches.
336 srvx--devo--1.3--patch-52
338 src/ioset.h (ioset_update): Declare new function.
340 src/ioset.c (ioset_init): If we have an engine, return early.
341 (ioset_add): If no engine, try to initialize.
342 (ioset_update): New function.
345 ChangeLog src/ioset.c src/ioset.h
348 2006-10-04 01:23:10 GMT Michael Poole <mdpoole@troilus.org> patch-51
351 Update time for ioset backend.
353 srvx--devo--1.3--patch-51
355 src/ioset-epoll.c (ioset_epoll_loop): Set now after epoll_wait() returns.
358 ChangeLog src/ioset-epoll.c
361 2006-10-03 23:18:25 GMT Michael Poole <mdpoole@troilus.org> patch-50
364 I18n'ize the staff descriptors in !access.
366 srvx--devo--1.3--patch-50
368 src/chanserv.c (msgtab): Add new entries for staff descriptors.
369 (cmd_access): Use them.
372 ChangeLog src/chanserv.c
375 2006-09-23 01:14:35 GMT Michael Poole <mdpoole@troilus.org> patch-49
378 ioset event handling fixups
380 srvx--devo--1.3--patch-49
382 src/ioset.c (ioset_connect): Properly handle the situation if the connect
383 handler closes the fd.
384 (ioset_accept): Rename "old_active_fd" to "old_active" for consistency.
385 (ioset_buffered_read): Make sure we bail if the fd is closed.
386 (ioset_events): Handle 'readable' on a connecting fd as an error.
389 ChangeLog src/ioset.c
392 2006-09-23 01:03:08 GMT Michael Poole <mdpoole@troilus.org> patch-48
395 Dummy handling fixes.
397 srvx--devo--1.3--patch-48
399 src/proto-p10.c (irc_notice): Fix the conditions for sending message to
401 (irc_privmsg): Likewise.
402 (parse_cleanup): Zero num_*_funcs when freeing the corresponding
403 arrays, so that DelUser() doesn't read after free.
406 ChangeLog src/proto-p10.c
409 2006-09-23 00:58:27 GMT Michael Poole <mdpoole@troilus.org> patch-47
412 Fix hostmask generation for hostnames without dots.
414 srvx--devo--1.3--patch-47
416 src/proto-common.c (generate_hostmask): Keep no-dot hostnames as the
417 mask -- mod-qserver can generate hostnames like "localhost".
420 ChangeLog src/proto-common.c
423 2006-09-23 00:55:02 GMT Michael Poole <mdpoole@troilus.org> patch-46
426 Default qserver clients to being opers.
428 srvx--devo--1.3--patch-46
430 src/mod-qserver.c (qserver_accept): Default dummy client to having
431 usermode +o, so they can use privileged services.
434 ChangeLog src/mod-qserver.c
437 2006-09-23 00:52:48 GMT Michael Poole <mdpoole@troilus.org> patch-45
440 Further giveownership confirmation fixes.
442 srvx--devo--1.3--patch-45
444 src/chanserv.c (CSMSG_CONFIRM_GIVEOWNERSHIP): Prepend * to account name.
445 (cmd_giveownership): Check invoker access to determine need for confirmation.
448 ChangeLog src/chanserv.c
451 2006-09-22 03:33:25 GMT Michael Poole <mdpoole@troilus.org> patch-44
454 Fix comment about +O vs +o.
456 srvx--devo--1.3--patch-44
458 src/hash.h (FLAGS_OPER): The user mode is actually +o, not +O.
464 2006-09-22 03:28:08 GMT Michael Poole <mdpoole@troilus.org> patch-43
467 Fix license notice for mod-qserver.c
469 srvx--devo--1.3--patch-43
471 src/mod-qserver.c: Since this was for public distribution, use the
472 standard GPL header notice.
475 ChangeLog src/mod-qserver.c
478 2006-09-22 03:05:54 GMT Michael Poole <mdpoole@troilus.org> patch-42
481 Add win32 specific files to tarballs.
483 srvx--devo--1.3--patch-42
485 Makefile.am (EXTRA_DIST): Include Makefile.win32.
487 src/Makefile.am (EXTRA_srvx_SOURCES): Include config.h.win32 and ioset-win32.c.
490 ChangeLog Makefile.am src/Makefile.am
493 2006-09-22 03:02:07 GMT Michael Poole <mdpoole@troilus.org> patch-41
496 First pass at native Win32 support (does not compile).
498 srvx--devo--1.3--patch-41
500 src/compat.h: Handle Windows Sockets 2 headers.
502 src/mod-memoserv.c (KEY_READ): #undef'ine to avoid its registry access
505 Makefile.win32: New Makefile for native or cross builds targeting Win32.
507 src/config.h.win32: Pregenerated config.h for Win32.
509 src/ioset-win32.c: First attempt at a Win32 ioset backend.
512 .arch-ids/Makefile.win32.id Makefile.win32
513 src/.arch-ids/config.h.win32.id src/.arch-ids/ioset-win32.c.id
514 src/config.h.win32 src/ioset-win32.c
517 ChangeLog src/compat.h src/mod-memoserv.c
520 2006-09-22 02:51:50 GMT Michael Poole <mdpoole@troilus.org> patch-40
523 Add direct query server module.
525 srvx--devo--1.3--patch-40
527 srvx.conf.example: Document qserver configuration.
529 src/Makefile.am (EXTRA_srvx_SOURCES): Add mod-qserver.c.
531 src/mod-qserver.c: New file.
534 src/.arch-ids/mod-qserver.c.id src/mod-qserver.c
537 ChangeLog src/Makefile.am src/ioset-epoll.c srvx.conf.example
540 2006-09-22 02:45:20 GMT Michael Poole <mdpoole@troilus.org> patch-39
543 Add epoll_* ioset backend.
545 srvx--devo--1.3--patch-39
547 configure.in: Check for epoll_create(); demote select() from being required.
549 src/Makefile.am (EXTRA_srvx_SOURCES): Add ioset-epoll.c.
551 src/ioset-epoll.c: New file.
554 src/.arch-ids/ioset-epoll.c.id src/ioset-epoll.c
557 ChangeLog configure.in src/Makefile.am
560 2006-09-22 02:38:21 GMT Michael Poole <mdpoole@troilus.org> patch-38
563 Allow multiple ioset backends.
565 srvx--devo--1.3--patch-38
567 configure.in: Add framework to check for ioset backends.
569 src/Makefile.am (noinst_DATA): Reorganize for easier patching.
570 (checkversion): Avoid spurious error message if $(GNU_ARCH) is missing.
571 (EXTRA_srvx_SOURCES): Reorganize for easier patching; add ioset-select.c.
572 (srvx_SOURCES): Add ioset-impl.h.
574 src/ioset.c (ioset.h): #include "ioset-impl.h" instead.
575 (clock_skew): Make non-static for backends.
576 (engine): New variable.
577 (active_fd): New variable (kind of kludgy).
578 (io_engine_*): New variables, only one exists so far.
579 (ioset_init): New function.
580 (ioset_cleanup): Call engine's cleanup function.
581 (ioset_add): Call engine's add function.
582 (ioset_listen): New function.
583 (ioset_connect): Call engine's update functions at appropriate points.
584 (ioset_try_write): Call engine's update function on success.
585 (ioset_close): Change signature; check against active_fd; call engine's
587 (ioset_accept): New function.
588 (ioset_buffered_read): Update fd->state instead of fd->eof and call
589 engine's update function as appropriate. Use active_fd.
590 (ioset_line_read): Check fd->state instead of fd->eof.
591 (debug_fdsets): Move to ioset-select.c.
592 (ioset_events): New function.
593 (ioset_run): Move most of the logic into ioset-select loop function;
594 call it. Rename "select_timeout" to "timeout" to match.
595 (ioset_write): Call engine->update function.
596 (ioset_printf): New function.
598 src/ioset.h (common.h): #include this header to get PRINTF_LIKE macro.
599 (struct io_fd): Replace 'connected' and 'eof' fields with 'state' field.
600 (ioset_init): Declare new function.
601 (ioset_listen): Declare new function.
602 (ioset_printf): Declare new function.
603 (ioset_close): Update signature.
605 src/main.c (main): Call ioset_init().
607 src/mod-sockcheck.c (sockcheck_free_client): Can unconditionally call
609 (expand_var): Always use C99 type names.
610 (sockcheck_begin_test): Can unconditionally call ioset_close() now.
611 (sockcheck_read_conf): Only warn about unknown host if the user set
612 one; it is silly to arn about unknown host `(null)'.
614 src/proto-common.c (socket_destroyed): Check fd->state rather than
616 (close_socket): Update signature for ioset_close().
619 src/.arch-ids/ioset-impl.h.id src/.arch-ids/ioset-select.c.id
620 src/ioset-impl.h src/ioset-select.c
623 ChangeLog configure.in src/Makefile.am src/ioset.c src/ioset.h
624 src/main.c src/mod-sockcheck.c src/proto-common.c
627 2006-09-22 02:15:55 GMT Michael Poole <mdpoole@troilus.org> patch-37
630 Add "dummy client" support.
632 srvx--devo--1.3--patch-37
634 src/hash.h (FLAGS_DUMMY): New flag for non-propagated clients.
637 src/helpfile.c (send_message): Allow sending to dummy clients.
638 (send_message_type): Likewise.
640 src/proto-bahamut.c (irc_user): Bail if user is NULL or has a dummy nickname.
641 (deliver_to_dummy): New function.
642 (irc_privmsg): Try to deliver via dummy method before sending to IRC.
643 (irc_notice): Likewise.
644 (irc_notice_user): Likewise.
645 (AddUser): If the first user mode character is '*', mark as a dummy.
646 (DelUser): Unregister callback functions when destroying local clients.
648 src/proto-p10.c (irc_user): Bail if user is NULL or has a dummy nickname.
649 (deliver_to_dummy): New function.
650 (irc_notice): Try to deliver via dummy method before sending to IRC.
651 (irc_notice_user): Likewise.
652 (irc_privmsg): Likewise.
653 (AddUser): If the first user mode character is '*', mark as a dummy.
654 (DelUser): Unregister callback functions when destroying local clients.
657 ChangeLog src/hash.h src/helpfile.c src/proto-bahamut.c
661 2006-09-22 01:56:07 GMT Michael Poole <mdpoole@troilus.org> patch-36
664 Delete obsolete and non-propagated user modes.
666 srvx--devo--1.3--patch-36
668 src/hash.h (FLAGS_LOCOP): Delete.
669 (FLAGS_SERVNOTICE): Delete.
670 (FLAGS_HELPER): Delete.
671 (IsServNotice): Delete.
672 (IsHelperIrcu): Delete.
674 src/opserv.c (cmd_whois): Remove IsServNotice() or IsHelperIrcu().
676 src/proto-bahamut.c (mod_usermode): Do not handle +O/+s/+h, we never see them.
678 src/proto-p10.c (irc_user): Do not emit +s or +h, we never set them..
679 (mod_usermode): Do not handle +O/+s/+h, we never see them.
682 ChangeLog src/hash.h src/opserv.c src/proto-bahamut.c
686 2006-09-22 01:48:00 GMT Michael Poole <mdpoole@troilus.org> patch-35
689 Merge AddService(), AddClone() into AddLocalUser()
691 srvx--devo--1.3--patch-35
693 src/chanserv.c (init_chanserv): Convert AddService() call to AddLocalUser().
695 src/global.c (init_global): Likewise.
697 src/mod-helpserv.c (register_helpserv): Likewise.
699 src/modcmd.c (cmd_service_add): Likewise.
700 (modcmd_load_bots): Likewise.
702 src/nickserv.c (regex.h): Fall back to rxposix.h from local rx package.
703 (init_nickserv): Convert AddService() call to AddLocalUser().
705 src/opserv.c (opserv_add_reserve): Convert AddClone() call to AddLocalUser().
706 (cmd_clone): Likewise.
707 (add_reserved): Likewise.
708 (init_opserv): Convert AddService() call to AddLocalUser().
710 src/proto-bahamut.c (AddService): Convert into AddLocalUser().
713 src/proto-p10.c (AddService): Convert into AddLocalUser().
716 src/proto.h (AddService): Convert into AddLocalUser().
720 ChangeLog src/chanserv.c src/global.c src/mod-helpserv.c
721 src/modcmd.c src/nickserv.c src/opserv.c src/proto-bahamut.c
722 src/proto-p10.c src/proto.h
725 2006-09-22 01:35:03 GMT Michael Poole <mdpoole@troilus.org> patch-34
728 Make IRC message handler 'text' const.
730 srvx--devo--1.3--patch-34
732 src/chanserv.c (chanserv_ctcp_check): Make 'text' parameter const.
734 src/mod-helpserv.c (helpserv_usermsg): Likewise.
735 (helpserv_botmsg): Likewise.
737 src/modcmd.c (svccmd_invoke): Likewise.
738 (modcmd_privmsg): Likewise.
739 (modcmd_chanmsg): Likewise.
741 src/modcmd.h (SVCMSG_HOOK): Likewise.
743 src/proto.h (chanmsg_func_t): Likewise.
744 (privmsg_func_t): Likewise.
747 ChangeLog src/chanserv.c src/mod-helpserv.c src/modcmd.c
748 src/modcmd.h src/proto.h
751 2006-09-22 01:23:43 GMT Michael Poole <mdpoole@troilus.org> patch-33
754 Add autogen.sh to distribution tarball.
756 srvx--devo--1.3--patch-33
758 Makefile.am: Add autogen.sh to the "extra" distributed files.
761 ChangeLog Makefile.am
764 2006-09-11 01:03:14 GMT Michael Poole <mdpoole@troilus.org> patch-32
767 Support and use G-line lastmod timestamp.
769 srvx--devo--1.3--patch-32
771 src/gline.c (KEY_LASTMOD): New key string.
772 (gline_add): Use new parameter to set lastmod.
773 (gline_add_record): Look for KEY_LASTMOD values.
774 (gline_write_entry): Set KEY_LASTMOD if lastmod is set.
775 (gline_discrim_create): Allow specification of lastmod criteria.
776 (gline_discrim_match): Check lastmod if appropriate.
778 src/gline.h (struct gline): Add lastmod field.
779 (struct gline_discrim): Add lastmod fields.
780 (gline_add): New parameter.
782 src/mod-sockcheck.c (sockcheck_issue_gline): Set lastmod.
784 src/opserv.c (OSMSG_NO_GLINE): New format string.
785 (opserv_block): Set lastmod.
786 (cmd_gline): Set lastmod.
787 (cmd_stats_glines): Allow searching for a particular G-line (just like
789 (opserv_new_user_check): Set lastmod.
790 (gtrace_print_func): Use intervals rather than fixed dates and show
793 src/opserv.help (GTRACE CRITERIA): Mention lastmod criteria.
795 src/proto-p10.c (irc_gline): Send lastmod if it is set.
796 (cmd_num_gline): Parse out lastmod if it is set.
797 (cmd_gline): Parse out lastmod if it is set.
800 ChangeLog src/gline.c src/gline.h src/mod-sockcheck.c
801 src/opserv.c src/opserv.help src/proto-p10.c
804 2006-09-09 21:37:28 GMT Michael Poole <mdpoole@troilus.org> patch-31
807 Network event handler fixup when ChanServ is disabled.
809 srvx--devo--1.3--patch-31
811 src/chanserv.c (init_chanserv): Do not register network event handlers if
812 ChanServ is disabled.
815 ChangeLog src/chanserv.c
818 2006-09-03 15:24:48 GMT Michael Poole <mdpoole@troilus.org> patch-30
821 Make srvx compile on cygwin again.
823 srvx--devo--1.3--patch-30
825 configure.in (AC_CHECK_HEADERS): Look for <arpa/inet.h>.
826 (AC_CHECK_FUNCS): Look for inet_aton().
828 src/compat.c: Try to include <arpa/inet.h> so we get inet_addr().
829 (getaddrinfo): If inet_aton() is not provided, use inet_addr() instead.
831 src/compat.h (AI_NUMERICHOST): Define this too.
833 src/tools.c (irc_pton): Use the pedantically correct type for ip4.
836 ChangeLog configure.in src/compat.c src/compat.h src/tools.c
839 2006-09-03 15:21:10 GMT Michael Poole <mdpoole@troilus.org> patch-29
842 DelChannelUser call and semantic fixups
844 srvx--devo--1.3--patch-29
846 src/hash.c (DelChannel): Fix type of 'reason' arg to DelChannelUser().
847 (DelChannelUser): Only send part message if user is local.
849 src/proto-bahamut.c (DelUser): Unswap arguments to DelChannelUser().
850 (cmd_part): Move to proto-common.c.
852 src/proto-common.c (part_desc): New structure type.
853 (part_helper): Use it to capture user and reason.
854 (cmd_part): New common function.
856 src/proto-p10.c (cmd_part): Move to proto-common.c.
857 (DelUser): Unswap arguments to DelChannelUser().
860 ChangeLog src/hash.c src/proto-bahamut.c src/proto-common.c
864 2006-09-03 15:17:05 GMT Michael Poole <mdpoole@troilus.org> patch-28
867 Do not try to moderate join-flood channels with no OpServ.
869 srvx--devo--1.3--patch-28
871 src/opserv.c (opserv_join_check): As feigling points out, it is bad for a
872 service that does not exist to join a channel and hack modes.
875 ChangeLog src/opserv.c
878 2006-09-03 15:13:31 GMT Michael Poole <mdpoole@troilus.org> patch-27
881 Fix ounregnick access check.
883 srvx--devo--1.3--patch-27
885 src/nickserv.c (cmd_ounregnick): Use the standard rank-checking function.
888 ChangeLog src/nickserv.c
891 2006-09-03 15:11:29 GMT Michael Poole <mdpoole@troilus.org> patch-26
894 Fix giveownership to how it should be
896 srvx--devo--1.3--patch-26
898 src/chanserv.c (cmd_giveownership): Only require confirmation code if the
899 user has real (normal) access and is not forcing the giveownership.
905 2006-09-03 15:10:58 GMT Michael Poole <mdpoole@troilus.org> patch-25
908 Fix giveownership to how it should be
910 srvx--devo--1.3--patch-25
912 src/chanserv.c (cmd_giveownership): Only require confirmation code if the
913 user has real (normal) access and is not forcing the giveownership.
916 ChangeLog src/chanserv.c
919 2006-08-19 13:31:08 GMT Michael Poole <mdpoole@troilus.org> patch-24
922 Mark channels as visited when high-level users leave.
924 srvx--devo--1.3--patch-24
926 src/chanserv.c (handle_part): At ThiefMaster's suggestion, update a
927 channel's visited time when a high-level user leaves (parts, gets
931 ChangeLog src/chanserv.c
934 2006-08-07 03:11:10 GMT Michael Poole <mdpoole@troilus.org> patch-23
937 Require confirmation cookie for giveownership.
939 srvx--devo--1.3--patch-23
941 src/chanserv.c (CSMSG_CONFIRM_GIVEOWNERSHIP): New translation string.
942 (cmd_giveownership): Fail for non-force unconfirmed giveownerships.
945 ChangeLog src/chanserv.c
948 2006-07-29 01:36:39 GMT Michael Poole <mdpoole@troilus.org> patch-22
951 Add CSMSG_INVALID_CFLAG string.
953 srvx--devo--1.3--patch-22
955 src/chanserv.c (msgtab): Add entry for "CSMSG_INVALID_CFLAG".
958 ChangeLog src/chanserv.c
961 2006-07-29 01:34:17 GMT Michael Poole <mdpoole@troilus.org> patch-21
964 Fix ?csearch max timestamp default value.
966 srvx--devo--1.3--patch-21
968 src/opserv.c (opserv_cdiscrim_create): Fix default value for max_ts.
969 (With an expression only a coder could love. Improvements wanted.)
972 ChangeLog src/opserv.c
975 2006-07-18 03:13:31 GMT Michael Poole <mdpoole@troilus.org> patch-20
978 Update arch-inventory files for in-tree builds.
980 srvx--devo--1.3--patch-20
982 .arch-inventory: Add "libtool" as a preserved file.
984 src/.arch-inventory: Add ".libs" as a preserved directory. Put a \
985 before the . in .cvsignore to avoid capturing too much.
988 .arch-inventory ChangeLog src/.arch-inventory
991 2006-07-18 02:48:32 GMT Michael Poole <mdpoole@troilus.org> patch-19
994 Make !bans searching more flexible
996 srvx--devo--1.3--patch-19
998 src/chanserv.c (cmd_bans): Allow specifying a complete hostmask or a
999 nickname when searching bans.
1001 src/chanserv.help (BANS): Document the searching functions.
1004 ChangeLog src/chanserv.c src/chanserv.help
1007 2006-07-18 01:49:56 GMT Michael Poole <mdpoole@troilus.org> patch-18
1010 Simplify cdiscrim_match() max tests.
1012 srvx--devo--1.3--patch-18
1014 src/opserv.c (opserv_cdiscrim_create): Explicitly initialize max_users
1016 (cdiscrim_match): Simplify the bounds tests for timestamp and users.
1019 ChangeLog src/opserv.c
1022 2006-07-18 01:46:10 GMT Michael Poole <mdpoole@troilus.org> patch-17
1025 Fix reclaim KILL behavior.
1027 srvx--devo--1.3--patch-17
1029 src/nickserv.c (nickserv_reclaim): Use DelUser() instead of irc_kill(),
1030 so that srvx's databases are appropriately updated.
1033 ChangeLog src/nickserv.c
1036 2006-07-18 01:12:16 GMT Michael Poole <mdpoole@troilus.org> patch-16
1039 Fix typo in English error message text.
1041 srvx--devo--1.3--patch-16
1043 src/chanserv.c (CSMSG_TOPICMASK_CONFLICT2): Add missing "is". Reported
1044 by Harm, by way of Byte.
1047 ChangeLog src/chanserv.c
1050 2006-05-14 02:54:24 GMT Michael Poole <mdpoole@troilus.org> patch-15
1053 Update version tag for 1.3.1 release.
1055 srvx--devo--1.3--patch-15
1057 configure.in: Update version tag for 1.3.1 release.
1060 ChangeLog configure.in
1063 2006-05-02 02:46:39 GMT Michael Poole <mdpoole@troilus.org> patch-14
1066 Make some ChanServ ban checks see through hidden hosts.
1068 srvx--devo--1.3--patch-14
1070 src/chanserv.c (handle_join): Make this function see through hidden
1071 hosts when matching users against bans. Add comment before the
1072 non-burst section; remove a redundant burst check there.
1073 (handle_auth): See through hidden hosts when checking against active
1074 bans. Inactive ban check keeps MATCH_VISIBLE since bans on the true
1075 hostname should have already been applied.
1076 (handle_nick_change): Same as handle_auth.
1079 ChangeLog src/chanserv.c
1082 2006-04-29 03:11:35 GMT Michael Poole <mdpoole@troilus.org> patch-13
1085 Fix visible matching for fake and +x-hidden hosts.
1087 srvx--devo--1.3--patch-13
1089 src/tools.c (user_matches_glob): Use correct test to determine whether
1090 the user's host is hidden.
1093 ChangeLog src/tools.c
1096 2006-04-07 00:56:38 GMT Michael Poole <mdpoole@troilus.org> patch-12
1099 Fix a +o mode parsing error.
1101 srvx--devo--1.3--patch-12
1103 src/proto-p10.c (mod_chanmode_parse): Check that the input argument after
1107 ChangeLog src/proto-p10.c
1110 2006-04-06 02:19:47 GMT Michael Poole <mdpoole@troilus.org> patch-11
1113 Fix some IPv6 address compatibility issues.
1115 srvx--devo--1.3--patch-11
1117 src/proto-p10.c (irc_p10_pton): Mark valid IPv4 addresses as v4-mapped.
1118 (irc_p10_ntop): Emit invalid IPs as AAAAAA (but it could be _ for +6
1122 ChangeLog src/proto-p10.c
1125 2006-04-05 02:07:30 GMT Michael Poole <mdpoole@troilus.org> patch-10
1128 Fix a possible warning without debugging.
1130 srvx--devo--1.3--patch-10
1132 src/alloc-slab.c (slab_unalloc): If assert() is #define'd to be empty,
1133 then size is unused. Include a (void)size to quash a warning.
1136 ChangeLog src/alloc-slab.c
1139 2006-04-05 02:02:21 GMT Michael Poole <mdpoole@troilus.org> patch-9
1142 Fix hostmask error from last year's patch-28.
1144 srvx--devo--1.3--patch-9
1146 src/proto-common.c (generate_hostmask): When generating a strict hostmask
1147 not by IP, we should keep the original hostname.
1150 ChangeLog src/proto-common.c
1153 2006-04-05 01:59:54 GMT Michael Poole <mdpoole@troilus.org> patch-8
1156 Fix compilation error with slab allocator and no debugging.
1158 srvx--devo--1.3--patch-8
1160 src/alloc-slab.c (verify): Undefine as a macro before defining as a
1164 ChangeLog src/alloc-slab.c
1167 2006-04-05 00:24:50 GMT Michael Poole <mdpoole@troilus.org> patch-7
1170 Fix backtracking bug after an escaped character.
1172 srvx--devo--1.3--patch-7
1174 src/tools.c (match_ircglob): Fix backtracking behavior when an escaped
1175 character did not match.
1178 ChangeLog src/tools.c
1181 2006-04-05 00:11:31 GMT Michael Poole <mdpoole@troilus.org> patch-6
1184 Advise the kernel that we will scan DB files sequentially.
1186 srvx--devo--1.3--patch-6
1188 src/recdb.c (parse_database): Advise the kernel that we will scan the
1189 recdb file sequentially, just in case it cannot notice the access
1193 ChangeLog src/recdb.c
1196 2006-04-05 00:09:48 GMT Michael Poole <mdpoole@troilus.org> patch-5
1199 Correctly implement AsLL pong.
1201 srvx--devo--1.3--patch-5
1203 src/proto-p10.c (irc_pong_asll): New function.
1207 ChangeLog src/proto-p10.c
1210 2006-04-05 00:08:04 GMT Michael Poole <mdpoole@troilus.org> patch-4
1213 Add missing underscore in translation key string.
1215 srvx--devo--1.3--patch-4
1217 src/mod-helpserv.c (helpserv_usermsg): Add a missing underscore between
1221 ChangeLog src/mod-helpserv.c
1224 2006-04-05 00:05:59 GMT Michael Poole <mdpoole@troilus.org> patch-3
1227 Update configure.in; support both baz and tla; avoid using dirent.
1229 srvx--devo--1.3--patch-3
1231 configure.in: Remove AC_PROG_RANLIB since we never use ranlib. Add
1232 AC_PROG_LIBTOOL since we do use libtool. Set GNU_ARCH and
1233 HAS_GNU_ARCH based on whether the system has baz or tla. Do not
1234 check for dirent.d_type.
1236 src/Makefile.am: Make the "checkversion" target conditional on
1237 HAS_GNU_ARCH, and use the detected $(GNU_ARCH).
1239 src/helpfile.c (language_read): Report error text when unable to open a
1241 (language_read_list): Always stat the language entry to determine
1242 whether it is a directory; Cygwin has no dirent.d_type and ReiserFS
1246 ChangeLog configure.in src/Makefile.am src/helpfile.c
1249 2006-04-05 00:00:57 GMT Michael Poole <mdpoole@troilus.org> patch-2
1252 Update ChangeLog (again?!), ltmain.sh and rx/Makefile.in
1254 srvx--devo--1.3--patch-2
1256 ChangeLog: Update again (it didn't take, for some strange reason).
1258 ltmain.sh: Update to current version.
1260 rx/Makefile.in: Regenerate to match.
1263 ChangeLog ltmain.sh rx/Makefile.in
1266 2006-04-04 23:58:31 GMT Michael Poole <mdpoole@troilus.org> patch-1
1269 Rotate ChangeLog for the new year's archive.
1271 srvx--devo--1.3--patch-1
1273 ChangeLog: Update for the new year's archive.
1276 .arch-ids/ChangeLog.id ChangeLog
1279 2006-04-04 23:42:39 GMT Michael Poole <mdpoole@troilus.org> base-0
1282 tag of srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-36
1284 srvx--devo--1.3--base-0
1286 (automatically generated log message)
1289 sp@gamesurge.net--2005/srvx--sp--1.3--patch-1
1290 sp@gamesurge.net--2005/srvx--sp--1.3--patch-2
1291 srvx@srvx.net--2004-srvx/srvx--devo--1.3--base-0
1292 srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-1
1293 srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-2
1294 srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-3
1295 srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-4
1296 srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-5
1297 srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-6
1298 srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-7
1299 srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-8
1300 srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-9
1301 srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-10
1302 srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-11
1303 srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-12
1304 srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-13
1305 srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-14
1306 srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-15
1307 srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-16
1308 srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-17
1309 srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-18
1310 srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-19
1311 srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-20
1312 srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-21
1313 srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-22
1314 srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-23
1315 srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-24
1316 srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-25
1317 srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-26
1318 srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-27
1319 srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-28
1320 srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-29
1321 srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-30
1322 srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-31
1323 srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-32
1324 srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-33
1325 srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-34
1326 srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-35
1327 srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-36
1328 srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-37
1329 srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-38
1330 srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-39
1331 srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-40
1332 srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-41
1333 srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-42
1334 srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-43
1335 srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-44
1336 srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-45
1337 srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-46
1338 srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-47
1339 srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-48
1340 srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-49
1341 srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-50
1342 srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-51
1343 srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-52
1344 srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-53
1345 srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-54
1346 srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-55
1347 srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-56
1348 srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-57
1349 srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-58
1350 srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-59
1351 srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-60
1352 srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-61
1353 srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-62
1354 srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-63
1355 srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-64
1356 srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-65
1357 srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-66
1358 srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-67
1359 srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-68
1360 srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-69
1361 srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-70
1362 srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-71
1363 srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-72
1364 srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-73
1365 srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-74
1366 srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-75
1367 srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-76
1368 srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-77
1369 srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-78
1370 srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-79
1371 srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-80
1372 srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-81
1373 srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-82
1374 srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-83
1375 srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-84
1376 srvx@srvx.net--2005-srvx/srvx--devo--1.3--base-0
1377 srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-1
1378 srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-2
1379 srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-3
1380 srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-4
1381 srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-5
1382 srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-6
1383 srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-7
1384 srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-8
1385 srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-9
1386 srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-10
1387 srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-11
1388 srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-12
1389 srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-13
1390 srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-14
1391 srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-15
1392 srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-16
1393 srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-17
1394 srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-18
1395 srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-19
1396 srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-20
1397 srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-21
1398 srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-22
1399 srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-23
1400 srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-24
1401 srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-25
1402 srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-26
1403 srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-27
1404 srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-28
1405 srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-29
1406 srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-30
1407 srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-31
1408 srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-32
1409 srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-33
1410 srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-34
1411 srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-35
1412 srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-36