Fix a (tiny) memory leak in mod-sockcheck.c.
[srvx.git] / ChangeLog
1 # do not edit -- automatically generated by arch changelog
2 # arch-tag: automatic-ChangeLog--srvx@srvx.net--2006/srvx--devo--1.3
3 #
4
5 2006-10-07 00:03:52 GMT Michael Poole <mdpoole@troilus.org>     patch-58
6
7     Summary:
8       Fix a (tiny) memory leak in mod-sockcheck.c.
9     Revision:
10       srvx--devo--1.3--patch-58
11
12     src/mod-sockcheck.c (sockcheck_begin_test): Make io_fd assignment
13         clearer.
14       (sockcheck_read_conf): Free the addrinfo we get.
15
16     modified files:
17      ChangeLog src/mod-sockcheck.c
18
19
20 2006-10-06 23:18:58 GMT Michael Poole <mdpoole@troilus.org>     patch-57
21
22     Summary:
23       Fix sending P10 bursts with many bans.
24     Revision:
25       srvx--devo--1.3--patch-57
26
27     src/proto-p10.c (irc_burst): Only send modes and user list once.
28
29     modified files:
30      ChangeLog src/proto-p10.c
31
32
33 2006-10-06 23:16:58 GMT Michael Poole <mdpoole@troilus.org>     patch-56
34
35     Summary:
36       Remove "wants_reads" field from struct io_fd.
37     Revision:
38       srvx--devo--1.3--patch-56
39
40     Everybody wants read information, so give it to them!
41     
42     src/ioset-epoll.c (ioset_epoll_events): Make EPOLLIN unconditional.
43     
44     src/ioset-impl.h (fd_wants_reads): Delete.
45     
46     src/ioset-select.c (ioset_select_loop): Unconditionally set read bit for fd.
47     
48     src/ioset.c (ioset_add): Add fd to engine after marking it non-blocking.
49       (ioset_buffered_reads): Remove check for fd->wants_reads.
50     
51     src/ioset.h (struct io_fd): Delete "wants_reads" field.
52     
53     src/mod-qserver.c (qserver_readable): Add missing newline.
54       (qserver_accept): Delete assignment to fd->wants_reads.
55     
56     src/mod-sockcheck.c (sockcheck_connected): Delete assignment to
57         fd->wants_reads.
58     
59     src/proto-common.c (create_socket_client): Delete assignment to
60         fd->wants_reads.
61
62     modified files:
63      ChangeLog src/ioset-epoll.c src/ioset-impl.h
64      src/ioset-select.c src/ioset.c src/ioset.h src/mod-qserver.c
65      src/mod-sockcheck.c src/proto-common.c
66
67
68 2006-10-06 23:12:20 GMT Michael Poole <mdpoole@troilus.org>     patch-55
69
70     Summary:
71       Fix detection of gettimeofday().
72     Revision:
73       srvx--devo--1.3--patch-55
74
75     configure.in: Since we have a fallback for gettimeofday, move it in with
76         the functions for which we do.
77
78     modified files:
79      ChangeLog configure.in
80
81
82 2006-10-04 01:41:05 GMT Michael Poole <mdpoole@troilus.org>     patch-54
83
84     Summary:
85       Make timeq_init() automatic.
86     Revision:
87       srvx--devo--1.3--patch-54
88
89     src/main.c (main): Remove call to timeq_init().
90     
91     src/timeq.h (timeq_init): Remove declaration.
92     
93     src/timeq.c (timeq_cleanup): Assign NULL to timeq to handle late timeq_del() calls.
94       (timeq_init): Make static.
95       (timeq_next): If timeq is NULL, return a large positive number.
96       (timeq_add): If timeq is NULL, initialize it.
97       (timeq_del): If timeq is NULL, do nothing.
98
99     modified files:
100      ChangeLog src/main.c src/timeq.c src/timeq.h
101
102
103 2006-10-04 01:37:40 GMT Michael Poole <mdpoole@troilus.org>     patch-53
104
105     Summary:
106       Allow log_module() to NULL log types.
107     Revision:
108       srvx--devo--1.3--patch-53
109
110     src/log.c (log_module): To make cleanup easier, allow NULL log types.
111
112     modified files:
113      ChangeLog src/log.c
114
115
116 2006-10-04 01:32:57 GMT Michael Poole <mdpoole@troilus.org>     patch-52
117
118     Summary:
119       Fix some startup-related glitches.
120     Revision:
121       srvx--devo--1.3--patch-52
122
123     src/ioset.h (ioset_update): Declare new function.
124     
125     src/ioset.c (ioset_init): If we have an engine, return early.
126       (ioset_add): If no engine, try to initialize.
127       (ioset_update): New function.
128
129     modified files:
130      ChangeLog src/ioset.c src/ioset.h
131
132
133 2006-10-04 01:23:10 GMT Michael Poole <mdpoole@troilus.org>     patch-51
134
135     Summary:
136       Update time for ioset backend.
137     Revision:
138       srvx--devo--1.3--patch-51
139
140     src/ioset-epoll.c (ioset_epoll_loop): Set now after epoll_wait() returns.
141
142     modified files:
143      ChangeLog src/ioset-epoll.c
144
145
146 2006-10-03 23:18:25 GMT Michael Poole <mdpoole@troilus.org>     patch-50
147
148     Summary:
149       I18n'ize the staff descriptors in !access.
150     Revision:
151       srvx--devo--1.3--patch-50
152
153     src/chanserv.c (msgtab): Add new entries for staff descriptors.
154       (cmd_access): Use them.
155
156     modified files:
157      ChangeLog src/chanserv.c
158
159
160 2006-09-23 01:14:35 GMT Michael Poole <mdpoole@troilus.org>     patch-49
161
162     Summary:
163       ioset event handling fixups
164     Revision:
165       srvx--devo--1.3--patch-49
166
167     src/ioset.c (ioset_connect): Properly handle the situation if the connect
168         handler closes the fd.
169       (ioset_accept): Rename "old_active_fd" to "old_active" for consistency.
170       (ioset_buffered_read): Make sure we bail if the fd is closed.
171       (ioset_events): Handle 'readable' on a connecting fd as an error.
172
173     modified files:
174      ChangeLog src/ioset.c
175
176
177 2006-09-23 01:03:08 GMT Michael Poole <mdpoole@troilus.org>     patch-48
178
179     Summary:
180       Dummy handling fixes.
181     Revision:
182       srvx--devo--1.3--patch-48
183
184     src/proto-p10.c (irc_notice): Fix the conditions for sending message to
185         IRC.
186       (irc_privmsg): Likewise.
187       (parse_cleanup): Zero num_*_funcs when freeing the corresponding
188         arrays, so that DelUser() doesn't read after free.
189
190     modified files:
191      ChangeLog src/proto-p10.c
192
193
194 2006-09-23 00:58:27 GMT Michael Poole <mdpoole@troilus.org>     patch-47
195
196     Summary:
197       Fix hostmask generation for hostnames without dots.
198     Revision:
199       srvx--devo--1.3--patch-47
200
201     src/proto-common.c (generate_hostmask): Keep no-dot hostnames as the
202         mask -- mod-qserver can generate hostnames like "localhost".
203
204     modified files:
205      ChangeLog src/proto-common.c
206
207
208 2006-09-23 00:55:02 GMT Michael Poole <mdpoole@troilus.org>     patch-46
209
210     Summary:
211       Default qserver clients to being opers.
212     Revision:
213       srvx--devo--1.3--patch-46
214
215     src/mod-qserver.c (qserver_accept): Default dummy client to having
216         usermode +o, so they can use privileged services.
217
218     modified files:
219      ChangeLog src/mod-qserver.c
220
221
222 2006-09-23 00:52:48 GMT Michael Poole <mdpoole@troilus.org>     patch-45
223
224     Summary:
225       Further giveownership confirmation fixes.
226     Revision:
227       srvx--devo--1.3--patch-45
228
229     src/chanserv.c (CSMSG_CONFIRM_GIVEOWNERSHIP): Prepend * to account name.
230       (cmd_giveownership): Check invoker access to determine need for confirmation.
231
232     modified files:
233      ChangeLog src/chanserv.c
234
235
236 2006-09-22 03:33:25 GMT Michael Poole <mdpoole@troilus.org>     patch-44
237
238     Summary:
239       Fix comment about +O vs +o.
240     Revision:
241       srvx--devo--1.3--patch-44
242
243     src/hash.h (FLAGS_OPER): The user mode is actually +o, not +O.
244
245     modified files:
246      ChangeLog src/hash.h
247
248
249 2006-09-22 03:28:08 GMT Michael Poole <mdpoole@troilus.org>     patch-43
250
251     Summary:
252       Fix license notice for mod-qserver.c
253     Revision:
254       srvx--devo--1.3--patch-43
255
256     src/mod-qserver.c: Since this was for public distribution, use the
257         standard GPL header notice.
258
259     modified files:
260      ChangeLog src/mod-qserver.c
261
262
263 2006-09-22 03:05:54 GMT Michael Poole <mdpoole@troilus.org>     patch-42
264
265     Summary:
266       Add win32 specific files to tarballs.
267     Revision:
268       srvx--devo--1.3--patch-42
269
270     Makefile.am (EXTRA_DIST): Include Makefile.win32.
271     
272     src/Makefile.am (EXTRA_srvx_SOURCES): Include config.h.win32 and ioset-win32.c.
273
274     modified files:
275      ChangeLog Makefile.am src/Makefile.am
276
277
278 2006-09-22 03:02:07 GMT Michael Poole <mdpoole@troilus.org>     patch-41
279
280     Summary:
281       First pass at native Win32 support (does not compile).
282     Revision:
283       srvx--devo--1.3--patch-41
284
285     src/compat.h: Handle Windows Sockets 2 headers.
286     
287     src/mod-memoserv.c (KEY_READ): #undef'ine to avoid its registry access
288         meaning on Windows.
289     
290     Makefile.win32: New Makefile for native or cross builds targeting Win32.
291     
292     src/config.h.win32: Pregenerated config.h for Win32.
293     
294     src/ioset-win32.c: First attempt at a Win32 ioset backend.
295
296     new files:
297      .arch-ids/Makefile.win32.id Makefile.win32
298      src/.arch-ids/config.h.win32.id src/.arch-ids/ioset-win32.c.id
299      src/config.h.win32 src/ioset-win32.c
300
301     modified files:
302      ChangeLog src/compat.h src/mod-memoserv.c
303
304
305 2006-09-22 02:51:50 GMT Michael Poole <mdpoole@troilus.org>     patch-40
306
307     Summary:
308       Add direct query server module.
309     Revision:
310       srvx--devo--1.3--patch-40
311
312     srvx.conf.example: Document qserver configuration.
313     
314     src/Makefile.am (EXTRA_srvx_SOURCES): Add mod-qserver.c.
315     
316     src/mod-qserver.c: New file.
317
318     new files:
319      src/.arch-ids/mod-qserver.c.id src/mod-qserver.c
320
321     modified files:
322      ChangeLog src/Makefile.am src/ioset-epoll.c srvx.conf.example
323
324
325 2006-09-22 02:45:20 GMT Michael Poole <mdpoole@troilus.org>     patch-39
326
327     Summary:
328       Add epoll_* ioset backend.
329     Revision:
330       srvx--devo--1.3--patch-39
331
332     configure.in: Check for epoll_create(); demote select() from being required.
333     
334     src/Makefile.am (EXTRA_srvx_SOURCES): Add ioset-epoll.c.
335     
336     src/ioset-epoll.c: New file.
337
338     new files:
339      src/.arch-ids/ioset-epoll.c.id src/ioset-epoll.c
340
341     modified files:
342      ChangeLog configure.in src/Makefile.am
343
344
345 2006-09-22 02:38:21 GMT Michael Poole <mdpoole@troilus.org>     patch-38
346
347     Summary:
348       Allow multiple ioset backends.
349     Revision:
350       srvx--devo--1.3--patch-38
351
352     configure.in: Add framework to check for ioset backends.
353     
354     src/Makefile.am (noinst_DATA): Reorganize for easier patching.
355       (checkversion): Avoid spurious error message if $(GNU_ARCH) is missing.
356       (EXTRA_srvx_SOURCES): Reorganize for easier patching; add ioset-select.c.
357       (srvx_SOURCES): Add ioset-impl.h.
358     
359     src/ioset.c (ioset.h): #include "ioset-impl.h" instead.
360       (clock_skew): Make non-static for backends.
361       (engine): New variable.
362       (active_fd): New variable (kind of kludgy).
363       (io_engine_*): New variables, only one exists so far.
364       (ioset_init): New function.
365       (ioset_cleanup): Call engine's cleanup function.
366       (ioset_add): Call engine's add function.
367       (ioset_listen): New function.
368       (ioset_connect): Call engine's update functions at appropriate points.
369       (ioset_try_write): Call engine's update function on success.
370       (ioset_close): Change signature; check against active_fd; call engine's
371         remove function.
372       (ioset_accept): New function.
373       (ioset_buffered_read): Update fd->state instead of fd->eof and call
374         engine's update function as appropriate.  Use active_fd.
375       (ioset_line_read): Check fd->state instead of fd->eof.
376       (debug_fdsets): Move to ioset-select.c.
377       (ioset_events): New function.
378       (ioset_run): Move most of the logic into ioset-select loop function;
379         call it.  Rename "select_timeout" to "timeout" to match.
380       (ioset_write): Call engine->update function.
381       (ioset_printf): New function.
382     
383     src/ioset.h (common.h): #include this header to get PRINTF_LIKE macro.
384       (struct io_fd): Replace 'connected' and 'eof' fields with 'state' field.
385       (ioset_init): Declare new function.
386       (ioset_listen): Declare new function.
387       (ioset_printf): Declare new function.
388       (ioset_close): Update signature.
389     
390     src/main.c (main): Call ioset_init().
391     
392     src/mod-sockcheck.c (sockcheck_free_client): Can unconditionally call
393         ioset_close() now.
394       (expand_var): Always use C99 type names.
395       (sockcheck_begin_test): Can unconditionally call ioset_close() now.
396       (sockcheck_read_conf): Only warn about unknown host if the user set
397         one; it is silly to arn about unknown host `(null)'.
398     
399     src/proto-common.c (socket_destroyed): Check fd->state rather than
400         fd->eof.
401       (close_socket): Update signature for ioset_close().
402
403     new files:
404      src/.arch-ids/ioset-impl.h.id src/.arch-ids/ioset-select.c.id
405      src/ioset-impl.h src/ioset-select.c
406
407     modified files:
408      ChangeLog configure.in src/Makefile.am src/ioset.c src/ioset.h
409      src/main.c src/mod-sockcheck.c src/proto-common.c
410
411
412 2006-09-22 02:15:55 GMT Michael Poole <mdpoole@troilus.org>     patch-37
413
414     Summary:
415       Add "dummy client" support.
416     Revision:
417       srvx--devo--1.3--patch-37
418
419     src/hash.h (FLAGS_DUMMY): New flag for non-propagated clients.
420       (IsDummy): Check it.
421     
422     src/helpfile.c (send_message): Allow sending to dummy clients.
423       (send_message_type): Likewise.
424     
425     src/proto-bahamut.c (irc_user): Bail if user is NULL or has a dummy nickname.
426       (deliver_to_dummy): New function.
427       (irc_privmsg): Try to deliver via dummy method before sending to IRC.
428       (irc_notice): Likewise.
429       (irc_notice_user): Likewise.
430       (AddUser): If the first user mode character is '*', mark as a dummy.
431       (DelUser): Unregister callback functions when destroying local clients.
432     
433     src/proto-p10.c (irc_user): Bail if user is NULL or has a dummy nickname.
434       (deliver_to_dummy): New function.
435       (irc_notice): Try to deliver via dummy method before sending to IRC.
436       (irc_notice_user): Likewise.
437       (irc_privmsg): Likewise.
438       (AddUser): If the first user mode character is '*', mark as a dummy.
439       (DelUser): Unregister callback functions when destroying local clients.
440
441     modified files:
442      ChangeLog src/hash.h src/helpfile.c src/proto-bahamut.c
443      src/proto-p10.c
444
445
446 2006-09-22 01:56:07 GMT Michael Poole <mdpoole@troilus.org>     patch-36
447
448     Summary:
449       Delete obsolete and non-propagated user modes.
450     Revision:
451       srvx--devo--1.3--patch-36
452
453     src/hash.h (FLAGS_LOCOP): Delete.
454       (FLAGS_SERVNOTICE): Delete.
455       (FLAGS_HELPER): Delete.
456       (IsServNotice): Delete.
457       (IsHelperIrcu): Delete.
458     
459     src/opserv.c (cmd_whois): Remove IsServNotice() or IsHelperIrcu().
460     
461     src/proto-bahamut.c (mod_usermode): Do not handle +O/+s/+h, we never see them.
462     
463     src/proto-p10.c (irc_user): Do not emit +s or +h, we never set them..
464       (mod_usermode): Do not handle +O/+s/+h, we never see them.
465
466     modified files:
467      ChangeLog src/hash.h src/opserv.c src/proto-bahamut.c
468      src/proto-p10.c
469
470
471 2006-09-22 01:48:00 GMT Michael Poole <mdpoole@troilus.org>     patch-35
472
473     Summary:
474       Merge AddService(), AddClone() into AddLocalUser()
475     Revision:
476       srvx--devo--1.3--patch-35
477
478     src/chanserv.c (init_chanserv): Convert AddService() call to AddLocalUser().
479     
480     src/global.c (init_global): Likewise.
481     
482     src/mod-helpserv.c (register_helpserv): Likewise.
483     
484     src/modcmd.c (cmd_service_add): Likewise.
485       (modcmd_load_bots): Likewise.
486     
487     src/nickserv.c (regex.h): Fall back to rxposix.h from local rx package.
488       (init_nickserv): Convert AddService() call to AddLocalUser().
489     
490     src/opserv.c (opserv_add_reserve): Convert AddClone() call to AddLocalUser().
491       (cmd_clone): Likewise.
492       (add_reserved): Likewise.
493       (init_opserv): Convert AddService() call to AddLocalUser().
494     
495     src/proto-bahamut.c (AddService): Convert into AddLocalUser().
496       (AddClone): Delete.
497     
498     src/proto-p10.c (AddService): Convert into AddLocalUser().
499       (AddClone): Delete.
500     
501     src/proto.h (AddService): Convert into AddLocalUser().
502       (AddClone): Delete.
503
504     modified files:
505      ChangeLog src/chanserv.c src/global.c src/mod-helpserv.c
506      src/modcmd.c src/nickserv.c src/opserv.c src/proto-bahamut.c
507      src/proto-p10.c src/proto.h
508
509
510 2006-09-22 01:35:03 GMT Michael Poole <mdpoole@troilus.org>     patch-34
511
512     Summary:
513       Make IRC message handler 'text' const.
514     Revision:
515       srvx--devo--1.3--patch-34
516
517     src/chanserv.c (chanserv_ctcp_check): Make 'text' parameter const.
518     
519     src/mod-helpserv.c (helpserv_usermsg): Likewise.
520       (helpserv_botmsg): Likewise.
521     
522     src/modcmd.c (svccmd_invoke): Likewise.
523       (modcmd_privmsg): Likewise.
524       (modcmd_chanmsg): Likewise.
525     
526     src/modcmd.h (SVCMSG_HOOK): Likewise.
527     
528     src/proto.h (chanmsg_func_t): Likewise.
529       (privmsg_func_t): Likewise.
530
531     modified files:
532      ChangeLog src/chanserv.c src/mod-helpserv.c src/modcmd.c
533      src/modcmd.h src/proto.h
534
535
536 2006-09-22 01:23:43 GMT Michael Poole <mdpoole@troilus.org>     patch-33
537
538     Summary:
539       Add autogen.sh to distribution tarball.
540     Revision:
541       srvx--devo--1.3--patch-33
542
543     Makefile.am: Add autogen.sh to the "extra" distributed files.
544
545     modified files:
546      ChangeLog Makefile.am
547
548
549 2006-09-11 01:03:14 GMT Michael Poole <mdpoole@troilus.org>     patch-32
550
551     Summary:
552       Support and use G-line lastmod timestamp.
553     Revision:
554       srvx--devo--1.3--patch-32
555
556     src/gline.c (KEY_LASTMOD): New key string.
557       (gline_add): Use new parameter to set lastmod.
558       (gline_add_record): Look for KEY_LASTMOD values.
559       (gline_write_entry): Set KEY_LASTMOD if lastmod is set.
560       (gline_discrim_create): Allow specification of lastmod criteria.
561       (gline_discrim_match): Check lastmod if appropriate.
562     
563     src/gline.h (struct gline): Add lastmod field.
564       (struct gline_discrim): Add lastmod fields.
565       (gline_add): New parameter.
566     
567     src/mod-sockcheck.c (sockcheck_issue_gline): Set lastmod.
568     
569     src/opserv.c (OSMSG_NO_GLINE): New format string.
570       (opserv_block): Set lastmod.
571       (cmd_gline): Set lastmod.
572       (cmd_stats_glines): Allow searching for a particular G-line (just like
573         gtrace).
574       (opserv_new_user_check): Set lastmod.
575       (gtrace_print_func): Use intervals rather than fixed dates and show
576         lastmod.
577     
578     src/opserv.help (GTRACE CRITERIA): Mention lastmod criteria.
579     
580     src/proto-p10.c (irc_gline): Send lastmod if it is set.
581       (cmd_num_gline): Parse out lastmod if it is set.
582       (cmd_gline): Parse out lastmod if it is set.
583
584     modified files:
585      ChangeLog src/gline.c src/gline.h src/mod-sockcheck.c
586      src/opserv.c src/opserv.help src/proto-p10.c
587
588
589 2006-09-09 21:37:28 GMT Michael Poole <mdpoole@troilus.org>     patch-31
590
591     Summary:
592       Network event handler fixup when ChanServ is disabled.
593     Revision:
594       srvx--devo--1.3--patch-31
595
596     src/chanserv.c (init_chanserv): Do not register network event handlers if
597         ChanServ is disabled.
598
599     modified files:
600      ChangeLog src/chanserv.c
601
602
603 2006-09-03 15:24:48 GMT Michael Poole <mdpoole@troilus.org>     patch-30
604
605     Summary:
606       Make srvx compile on cygwin again.
607     Revision:
608       srvx--devo--1.3--patch-30
609
610     configure.in (AC_CHECK_HEADERS): Look for <arpa/inet.h>.
611       (AC_CHECK_FUNCS): Look for inet_aton().
612     
613     src/compat.c: Try to include <arpa/inet.h> so we get inet_addr().
614       (getaddrinfo): If inet_aton() is not provided, use inet_addr() instead.
615     
616     src/compat.h (AI_NUMERICHOST): Define this too.
617     
618     src/tools.c (irc_pton): Use the pedantically correct type for ip4.
619
620     modified files:
621      ChangeLog configure.in src/compat.c src/compat.h src/tools.c
622
623
624 2006-09-03 15:21:10 GMT Michael Poole <mdpoole@troilus.org>     patch-29
625
626     Summary:
627       DelChannelUser call and semantic fixups
628     Revision:
629       srvx--devo--1.3--patch-29
630
631     src/hash.c (DelChannel): Fix type of 'reason' arg to DelChannelUser().
632       (DelChannelUser): Only send part message if user is local.
633     
634     src/proto-bahamut.c (DelUser): Unswap arguments to DelChannelUser().
635       (cmd_part): Move to proto-common.c.
636     
637     src/proto-common.c (part_desc): New structure type.
638       (part_helper): Use it to capture user and reason.
639       (cmd_part): New common function.
640     
641     src/proto-p10.c (cmd_part): Move to proto-common.c.
642       (DelUser): Unswap arguments to DelChannelUser().
643
644     modified files:
645      ChangeLog src/hash.c src/proto-bahamut.c src/proto-common.c
646      src/proto-p10.c
647
648
649 2006-09-03 15:17:05 GMT Michael Poole <mdpoole@troilus.org>     patch-28
650
651     Summary:
652       Do not try to moderate join-flood channels with no OpServ.
653     Revision:
654       srvx--devo--1.3--patch-28
655
656     src/opserv.c (opserv_join_check): As feigling points out, it is bad for a
657         service that does not exist to join a channel and hack modes.
658
659     modified files:
660      ChangeLog src/opserv.c
661
662
663 2006-09-03 15:13:31 GMT Michael Poole <mdpoole@troilus.org>     patch-27
664
665     Summary:
666       Fix ounregnick access check.
667     Revision:
668       srvx--devo--1.3--patch-27
669
670     src/nickserv.c (cmd_ounregnick): Use the standard rank-checking function.
671
672     modified files:
673      ChangeLog src/nickserv.c
674
675
676 2006-09-03 15:11:29 GMT Michael Poole <mdpoole@troilus.org>     patch-26
677
678     Summary:
679       Fix giveownership to how it should be
680     Revision:
681       srvx--devo--1.3--patch-26
682
683     src/chanserv.c (cmd_giveownership): Only require confirmation code if the
684       user has real (normal) access and is not forcing the giveownership.
685
686     modified files:
687      ChangeLog
688
689
690 2006-09-03 15:10:58 GMT Michael Poole <mdpoole@troilus.org>     patch-25
691
692     Summary:
693       Fix giveownership to how it should be
694     Revision:
695       srvx--devo--1.3--patch-25
696
697     src/chanserv.c (cmd_giveownership): Only require confirmation code if the
698       user has real (normal) access and is not forcing the giveownership.
699
700     modified files:
701      ChangeLog src/chanserv.c
702
703
704 2006-08-19 13:31:08 GMT Michael Poole <mdpoole@troilus.org>     patch-24
705
706     Summary:
707       Mark channels as visited when high-level users leave.
708     Revision:
709       srvx--devo--1.3--patch-24
710
711     src/chanserv.c (handle_part): At ThiefMaster's suggestion, update a
712       channel's visited time when a high-level user leaves (parts, gets
713       kicked, or quits).
714
715     modified files:
716      ChangeLog src/chanserv.c
717
718
719 2006-08-07 03:11:10 GMT Michael Poole <mdpoole@troilus.org>     patch-23
720
721     Summary:
722       Require confirmation cookie for giveownership.
723     Revision:
724       srvx--devo--1.3--patch-23
725
726     src/chanserv.c (CSMSG_CONFIRM_GIVEOWNERSHIP): New translation string.
727       (cmd_giveownership): Fail for non-force unconfirmed giveownerships.
728
729     modified files:
730      ChangeLog src/chanserv.c
731
732
733 2006-07-29 01:36:39 GMT Michael Poole <mdpoole@troilus.org>     patch-22
734
735     Summary:
736       Add CSMSG_INVALID_CFLAG string.
737     Revision:
738       srvx--devo--1.3--patch-22
739
740     src/chanserv.c (msgtab): Add entry for "CSMSG_INVALID_CFLAG".
741
742     modified files:
743      ChangeLog src/chanserv.c
744
745
746 2006-07-29 01:34:17 GMT Michael Poole <mdpoole@troilus.org>     patch-21
747
748     Summary:
749       Fix ?csearch max timestamp default value.
750     Revision:
751       srvx--devo--1.3--patch-21
752
753     src/opserv.c (opserv_cdiscrim_create): Fix default value for max_ts.
754         (With an expression only a coder could love.  Improvements wanted.)
755
756     modified files:
757      ChangeLog src/opserv.c
758
759
760 2006-07-18 03:13:31 GMT Michael Poole <mdpoole@troilus.org>     patch-20
761
762     Summary:
763       Update arch-inventory files for in-tree builds.
764     Revision:
765       srvx--devo--1.3--patch-20
766
767     .arch-inventory: Add "libtool" as a preserved file.
768     
769     src/.arch-inventory: Add ".libs" as a preserved directory.  Put a \
770         before the . in .cvsignore to avoid capturing too much.
771
772     modified files:
773      .arch-inventory ChangeLog src/.arch-inventory
774
775
776 2006-07-18 02:48:32 GMT Michael Poole <mdpoole@troilus.org>     patch-19
777
778     Summary:
779       Make !bans searching more flexible
780     Revision:
781       srvx--devo--1.3--patch-19
782
783     src/chanserv.c (cmd_bans): Allow specifying a complete hostmask or a
784         nickname when searching bans.
785     
786     src/chanserv.help (BANS): Document the searching functions.
787
788     modified files:
789      ChangeLog src/chanserv.c src/chanserv.help
790
791
792 2006-07-18 01:49:56 GMT Michael Poole <mdpoole@troilus.org>     patch-18
793
794     Summary:
795       Simplify cdiscrim_match() max tests.
796     Revision:
797       srvx--devo--1.3--patch-18
798
799     src/opserv.c (opserv_cdiscrim_create): Explicitly initialize max_users
800         and max_ts.
801       (cdiscrim_match): Simplify the bounds tests for timestamp and users.
802
803     modified files:
804      ChangeLog src/opserv.c
805
806
807 2006-07-18 01:46:10 GMT Michael Poole <mdpoole@troilus.org>     patch-17
808
809     Summary:
810       Fix reclaim KILL behavior.
811     Revision:
812       srvx--devo--1.3--patch-17
813
814     src/nickserv.c (nickserv_reclaim): Use DelUser() instead of irc_kill(),
815         so that srvx's databases are appropriately updated.
816
817     modified files:
818      ChangeLog src/nickserv.c
819
820
821 2006-07-18 01:12:16 GMT Michael Poole <mdpoole@troilus.org>     patch-16
822
823     Summary:
824       Fix typo in English error message text.
825     Revision:
826       srvx--devo--1.3--patch-16
827
828     src/chanserv.c (CSMSG_TOPICMASK_CONFLICT2): Add missing "is".  Reported
829       by Harm, by way of Byte.
830
831     modified files:
832      ChangeLog src/chanserv.c
833
834
835 2006-05-14 02:54:24 GMT Michael Poole <mdpoole@troilus.org>     patch-15
836
837     Summary:
838       Update version tag for 1.3.1 release.
839     Revision:
840       srvx--devo--1.3--patch-15
841
842     configure.in: Update version tag for 1.3.1 release.
843
844     modified files:
845      ChangeLog configure.in
846
847
848 2006-05-02 02:46:39 GMT Michael Poole <mdpoole@troilus.org>     patch-14
849
850     Summary:
851       Make some ChanServ ban checks see through hidden hosts.
852     Revision:
853       srvx--devo--1.3--patch-14
854
855     src/chanserv.c (handle_join): Make this function see through hidden
856         hosts when matching users against bans.  Add comment before the
857         non-burst section; remove a redundant burst check there.
858       (handle_auth): See through hidden hosts when checking against active
859         bans.  Inactive ban check keeps MATCH_VISIBLE since bans on the true
860         hostname should have already been applied.
861       (handle_nick_change): Same as handle_auth.
862
863     modified files:
864      ChangeLog src/chanserv.c
865
866
867 2006-04-29 03:11:35 GMT Michael Poole <mdpoole@troilus.org>     patch-13
868
869     Summary:
870       Fix visible matching for fake and +x-hidden hosts.
871     Revision:
872       srvx--devo--1.3--patch-13
873
874     src/tools.c (user_matches_glob): Use correct test to determine whether
875         the user's host is hidden.
876
877     modified files:
878      ChangeLog src/tools.c
879
880
881 2006-04-07 00:56:38 GMT Michael Poole <mdpoole@troilus.org>     patch-12
882
883     Summary:
884       Fix a +o mode parsing error.
885     Revision:
886       srvx--devo--1.3--patch-12
887
888     src/proto-p10.c (mod_chanmode_parse): Check that the input argument after
889         +o is a valid one.
890
891     modified files:
892      ChangeLog src/proto-p10.c
893
894
895 2006-04-06 02:19:47 GMT Michael Poole <mdpoole@troilus.org>     patch-11
896
897     Summary:
898       Fix some IPv6 address compatibility issues.
899     Revision:
900       srvx--devo--1.3--patch-11
901
902     src/proto-p10.c (irc_p10_pton): Mark valid IPv4 addresses as v4-mapped.
903       (irc_p10_ntop): Emit invalid IPs as AAAAAA (but it could be _ for +6
904         flagged hubs).
905
906     modified files:
907      ChangeLog src/proto-p10.c
908
909
910 2006-04-05 02:07:30 GMT Michael Poole <mdpoole@troilus.org>     patch-10
911
912     Summary:
913       Fix a possible warning without debugging.
914     Revision:
915       srvx--devo--1.3--patch-10
916
917     src/alloc-slab.c (slab_unalloc): If assert() is #define'd to be empty,
918         then size is unused.  Include a (void)size to quash a warning.
919
920     modified files:
921      ChangeLog src/alloc-slab.c
922
923
924 2006-04-05 02:02:21 GMT Michael Poole <mdpoole@troilus.org>     patch-9
925
926     Summary:
927       Fix hostmask error from last year's patch-28.
928     Revision:
929       srvx--devo--1.3--patch-9
930
931     src/proto-common.c (generate_hostmask): When generating a strict hostmask
932         not by IP, we should keep the original hostname.
933
934     modified files:
935      ChangeLog src/proto-common.c
936
937
938 2006-04-05 01:59:54 GMT Michael Poole <mdpoole@troilus.org>     patch-8
939
940     Summary:
941       Fix compilation error with slab allocator and no debugging.
942     Revision:
943       srvx--devo--1.3--patch-8
944
945     src/alloc-slab.c (verify): Undefine as a macro before defining as a
946         function.
947
948     modified files:
949      ChangeLog src/alloc-slab.c
950
951
952 2006-04-05 00:24:50 GMT Michael Poole <mdpoole@troilus.org>     patch-7
953
954     Summary:
955       Fix backtracking bug after an escaped character.
956     Revision:
957       srvx--devo--1.3--patch-7
958
959     src/tools.c (match_ircglob): Fix backtracking behavior when an escaped
960         character did not match.
961
962     modified files:
963      ChangeLog src/tools.c
964
965
966 2006-04-05 00:11:31 GMT Michael Poole <mdpoole@troilus.org>     patch-6
967
968     Summary:
969       Advise the kernel that we will scan DB files sequentially.
970     Revision:
971       srvx--devo--1.3--patch-6
972
973     src/recdb.c (parse_database): Advise the kernel that we will scan the
974         recdb file sequentially, just in case it cannot notice the access
975         pattern on its own.
976
977     modified files:
978      ChangeLog src/recdb.c
979
980
981 2006-04-05 00:09:48 GMT Michael Poole <mdpoole@troilus.org>     patch-5
982
983     Summary:
984       Correctly implement AsLL pong.
985     Revision:
986       srvx--devo--1.3--patch-5
987
988     src/proto-p10.c (irc_pong_asll): New function.
989       (cmd_ping): Use it.
990
991     modified files:
992      ChangeLog src/proto-p10.c
993
994
995 2006-04-05 00:08:04 GMT Michael Poole <mdpoole@troilus.org>     patch-4
996
997     Summary:
998       Add missing underscore in translation key string.
999     Revision:
1000       srvx--devo--1.3--patch-4
1001
1002     src/mod-helpserv.c (helpserv_usermsg): Add a missing underscore between
1003         REQUEST and NOT.
1004
1005     modified files:
1006      ChangeLog src/mod-helpserv.c
1007
1008
1009 2006-04-05 00:05:59 GMT Michael Poole <mdpoole@troilus.org>     patch-3
1010
1011     Summary:
1012       Update configure.in; support both baz and tla; avoid using dirent.
1013     Revision:
1014       srvx--devo--1.3--patch-3
1015
1016     configure.in: Remove AC_PROG_RANLIB since we never use ranlib.  Add
1017         AC_PROG_LIBTOOL since we do use libtool.  Set GNU_ARCH and
1018         HAS_GNU_ARCH based on whether the system has baz or tla.  Do not
1019         check for dirent.d_type.
1020     
1021     src/Makefile.am: Make the "checkversion" target conditional on
1022         HAS_GNU_ARCH, and use the detected $(GNU_ARCH).
1023     
1024     src/helpfile.c (language_read): Report error text when unable to open a
1025         language directory.
1026       (language_read_list): Always stat the language entry to determine
1027         whether it is a directory; Cygwin has no dirent.d_type and ReiserFS
1028         has a broken one.
1029
1030     modified files:
1031      ChangeLog configure.in src/Makefile.am src/helpfile.c
1032
1033
1034 2006-04-05 00:00:57 GMT Michael Poole <mdpoole@troilus.org>     patch-2
1035
1036     Summary:
1037       Update ChangeLog (again?!), ltmain.sh and rx/Makefile.in
1038     Revision:
1039       srvx--devo--1.3--patch-2
1040
1041     ChangeLog: Update again (it didn't take, for some strange reason).
1042     
1043     ltmain.sh: Update to current version.
1044     
1045     rx/Makefile.in: Regenerate to match.
1046
1047     modified files:
1048      ChangeLog ltmain.sh rx/Makefile.in
1049
1050
1051 2006-04-04 23:58:31 GMT Michael Poole <mdpoole@troilus.org>     patch-1
1052
1053     Summary:
1054       Rotate ChangeLog for the new year's archive.
1055     Revision:
1056       srvx--devo--1.3--patch-1
1057
1058     ChangeLog: Update for the new year's archive.
1059
1060     modified files:
1061      .arch-ids/ChangeLog.id ChangeLog
1062
1063
1064 2006-04-04 23:42:39 GMT Michael Poole <mdpoole@troilus.org>     base-0
1065
1066     Summary:
1067       tag of srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-36
1068     Revision:
1069       srvx--devo--1.3--base-0
1070
1071     (automatically generated log message)
1072
1073     new patches:
1074      sp@gamesurge.net--2005/srvx--sp--1.3--patch-1
1075      sp@gamesurge.net--2005/srvx--sp--1.3--patch-2
1076      srvx@srvx.net--2004-srvx/srvx--devo--1.3--base-0
1077      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-1
1078      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-2
1079      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-3
1080      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-4
1081      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-5
1082      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-6
1083      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-7
1084      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-8
1085      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-9
1086      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-10
1087      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-11
1088      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-12
1089      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-13
1090      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-14
1091      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-15
1092      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-16
1093      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-17
1094      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-18
1095      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-19
1096      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-20
1097      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-21
1098      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-22
1099      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-23
1100      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-24
1101      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-25
1102      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-26
1103      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-27
1104      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-28
1105      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-29
1106      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-30
1107      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-31
1108      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-32
1109      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-33
1110      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-34
1111      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-35
1112      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-36
1113      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-37
1114      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-38
1115      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-39
1116      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-40
1117      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-41
1118      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-42
1119      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-43
1120      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-44
1121      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-45
1122      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-46
1123      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-47
1124      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-48
1125      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-49
1126      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-50
1127      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-51
1128      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-52
1129      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-53
1130      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-54
1131      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-55
1132      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-56
1133      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-57
1134      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-58
1135      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-59
1136      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-60
1137      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-61
1138      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-62
1139      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-63
1140      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-64
1141      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-65
1142      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-66
1143      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-67
1144      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-68
1145      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-69
1146      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-70
1147      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-71
1148      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-72
1149      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-73
1150      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-74
1151      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-75
1152      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-76
1153      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-77
1154      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-78
1155      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-79
1156      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-80
1157      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-81
1158      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-82
1159      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-83
1160      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-84
1161      srvx@srvx.net--2005-srvx/srvx--devo--1.3--base-0
1162      srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-1
1163      srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-2
1164      srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-3
1165      srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-4
1166      srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-5
1167      srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-6
1168      srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-7
1169      srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-8
1170      srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-9
1171      srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-10
1172      srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-11
1173      srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-12
1174      srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-13
1175      srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-14
1176      srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-15
1177      srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-16
1178      srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-17
1179      srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-18
1180      srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-19
1181      srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-20
1182      srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-21
1183      srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-22
1184      srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-23
1185      srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-24
1186      srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-25
1187      srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-26
1188      srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-27
1189      srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-28
1190      srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-29
1191      srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-30
1192      srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-31
1193      srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-32
1194      srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-33
1195      srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-34
1196      srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-35
1197      srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-36
1198
1199