srvx.git
20 years agoPrivileged service fixes
Entrope [Sun, 29 Feb 2004 03:40:25 +0000 (03:40 +0000)]
Privileged service fixes

* Allow runtime control of privileged services.

* Make all oper commands default to having flags +oper.

* Add a "privileged" directive for OpServ in srvx.conf.example.
git-archimport-id: srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-13

20 years agomore bug fixes from GameSurge
Entrope [Sat, 28 Feb 2004 21:33:30 +0000 (21:33 +0000)]
more bug fixes from GameSurge

* Refuse to let an owner !set setters 501.

* Report proper level range when using !trim users <duration>.

* Refuse to let anyone !set <numericoption> 502, etc.

* Refuse to let people below owner level !set <numericoption> above
their level.

* Make !d 1d6+5 work.

* Mark users as seen/present AFTER deciding whether to show their
infoline, and PRIVMSG infolines rather than NOTICE them.

* Translate "CSMSG_USER_PROTECTED" (kick protection enforcement
message).

* Enforce plain mode changes, not just ops/deops/bans etc.

* Fix documentation for ChanServ UNREGISTER command.
git-archimport-id: srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-12

20 years agoFix bugs found on GameSurge
Entrope [Sat, 28 Feb 2004 19:08:13 +0000 (19:08 +0000)]
Fix bugs found on GameSurge

* Remove unused ARCH_REVISION macro in Makefile.am

* Fix !trim <userlevel> <duration> (so it does not trim ALL users)

* Properly allow owners to set levels to 501

* Set "deopped" when we deop the person who changed modes

* Mark the first user in a channel as a chanop (fixes a spurious
  HACK(4) for newly registered channels).

* Document user level ranges for the TRIM command.

* Document user-level-based SET options as being such (rather than
being multiple-choice options).
git-archimport-id: srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-11

20 years agoreply correctly to bad bans
Zoot [Sat, 28 Feb 2004 18:46:03 +0000 (18:46 +0000)]
reply correctly to bad bans

Send the correct ban being bounced.
git-archimport-id: srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-10

20 years agoput back Make rule for arch-version.h
Entrope [Sat, 28 Feb 2004 04:31:12 +0000 (04:31 +0000)]
put back Make rule for arch-version.h

* Reinstate the rule to create arch-version.h, which I accidentally
deleted in the last commit
git-archimport-id: srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-9

20 years agoruntime helpfile splicing
Entrope [Sat, 28 Feb 2004 00:29:08 +0000 (00:29 +0000)]
runtime helpfile splicing

* Add a miniature parser to the helpfile reader, allowing
nickserv.help's subsections to be selected at runtime.

* Move nickserv.help.m4 to nickserv.help and rewrite the
selection code to use the above.
git-archimport-id: srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-8

20 years agofix userlist presence tracking; "version" command on all services
Entrope [Fri, 27 Feb 2004 16:31:57 +0000 (16:31 +0000)]
fix userlist presence tracking; "version" command on all services

* Change scan_handle_presence() to scan_user_presence(), since we always
  have the userData* at the caller site.

* Make handle_auth() respect user suspensions.

* In handle_part(), let scan_user_presence() update "seen" time.

* Make ChanServ adduser command take arguments in the "expected" order
  ("!adduser target level", not "!adduser level target")

* Add the "version" command to all built-in services
git-archimport-id: srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-7

20 years agoChanServ, OpServ and main.c bug fixes
Entrope [Wed, 25 Feb 2004 04:06:30 +0000 (04:06 +0000)]
ChanServ, OpServ and main.c bug fixes

* Read new-style channel flags from the correct field, and do not make
ChanServ rejoin channels that are still suspended

* Allow service nicknames to be omitted from srvx.conf (again)

* Construct "opserv" bot earlier so that database read works correctly
git-archimport-id: srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-6

20 years agofix TODO list, services without "description" fields
Entrope [Tue, 24 Feb 2004 03:55:22 +0000 (03:55 +0000)]
fix TODO list, services without "description" fields

Remove items in the TODO list that have been done

Restore the ability to use a default description for services when a
"nick" but no "description" is present in srvx.conf
git-archimport-id: srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-5

20 years agoFix zoot style [wcmop]list; tweak events access
Entrope [Fri, 20 Feb 2004 19:29:46 +0000 (19:29 +0000)]
Fix zoot style [wcmop]list; tweak events access

Use proper lower bound for zoot style user-level lists.

Change default "events" access to 350.
git-archimport-id: srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-4

20 years agocleanups and fixes
Entrope [Thu, 19 Feb 2004 22:36:42 +0000 (22:36 +0000)]
cleanups and fixes

Fix the response when trying to set an option to an invalid access level.

Put accurate headers on zoot_list !users output.

Reduce default addban/addtimedban/delban access levels to 250.

Add advertising/support plug for #srvx.

Handle (but report) IRC socket connection errors.
git-archimport-id: srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-3

20 years agoSupport topic bursts; fix topic display in CHANINFO command
Entrope [Wed, 18 Feb 2004 00:18:30 +0000 (00:18 +0000)]
Support topic bursts; fix topic display in CHANINFO command

When we wipe out an older channel on our end, clear its topic.

Fix the message send function used by CHANINFO.

When we get a P10 T message, check for the extra fields added in Asuka.
git-archimport-id: srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-2

20 years agoIndenting cleanups, +sp fix, PING fix
Entrope [Tue, 17 Feb 2004 22:02:03 +0000 (22:02 +0000)]
Indenting cleanups, +sp fix, PING fix

Add explicit copyright notice to VERSION command
When receiving a PING, respond using numnick instead of readable name
Indenting fixes
Remove out-of-date references to GamesNET
git-archimport-id: srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-1

20 years agoInitial import (again)
Entrope [Wed, 11 Feb 2004 04:12:26 +0000 (04:12 +0000)]
Initial import (again)

Initial import of srvx-1.3 code.
git-archimport-id: srvx@srvx.net--2004-srvx/srvx--devo--1.3--base-0