]> jfr.im git - irc/eggheads/eggdrop.git/log
irc/eggheads/eggdrop.git
15 months agoEggdrop v1.9.5 Release Candidate 1 v1.9.5rc1
Geo [Tue, 14 Feb 2023 02:28:50 +0000 (21:28 -0500)] 
Eggdrop v1.9.5 Release Candidate 1

15 months agoGenerate ChangeLog/Changes files for 1.9.5rc1
Geo [Tue, 14 Feb 2023 02:26:16 +0000 (21:26 -0500)] 
Generate ChangeLog/Changes files for 1.9.5rc1

15 months agoRun autoconf
Geo [Tue, 14 Feb 2023 02:22:53 +0000 (21:22 -0500)] 
Run autoconf

15 months agoGenerate docs with 1.9.5 version
Geo [Tue, 14 Feb 2023 02:22:52 +0000 (21:22 -0500)] 
Generate docs with 1.9.5 version

15 months agoUpdate version strings to 1.9.5
Geo [Tue, 14 Feb 2023 02:22:41 +0000 (21:22 -0500)] 
Update version strings to 1.9.5

15 months agoUpdate copyright
Geo [Tue, 14 Feb 2023 02:22:26 +0000 (21:22 -0500)] 
Update copyright

15 months agoUpdate NEWS
Geo [Tue, 14 Feb 2023 02:15:52 +0000 (21:15 -0500)] 
Update NEWS

15 months agoUpdate THANKS
Geo [Tue, 14 Feb 2023 02:14:40 +0000 (21:14 -0500)] 
Update THANKS

15 months agobump patchlevel
Geo [Tue, 14 Feb 2023 00:23:15 +0000 (19:23 -0500)] 
bump patchlevel

15 months agoRun autotools/makedepend
Geo [Tue, 14 Feb 2023 00:22:17 +0000 (19:22 -0500)] 
Run autotools/makedepend

15 months agoCleanup deprecated gethostbyname2
Michael Ortmann [Tue, 14 Feb 2023 00:19:06 +0000 (00:19 +0000)] 
Cleanup deprecated gethostbyname2

Replace deprecated / obsolete gethostbyname2() with POSIX.1-2001 getaddrinfo()

15 months agoFix tcl service mode crash
Michael Ortmann [Tue, 14 Feb 2023 00:17:13 +0000 (00:17 +0000)] 
Fix tcl service mode crash

Found by: MacinMan
Patch by: michaelortmann
Fixes: #1351
Fixes: #1352
Fix crash - add tcl service mode hook stub / enhance doc

15 months agoRaise Tcl requirement to 8.5
Thomas Sader [Mon, 13 Feb 2023 21:07:22 +0000 (22:07 +0100)] 
Raise Tcl requirement to 8.5

Found by: mortmann
Patch by: thommey
Fixes: #1403
Eggdrop will not compile with Tcl8.5 DictObj support since 1.9.0 (oops).

15 months agoFix load of null pointer
Michael Ortmann [Mon, 13 Feb 2023 00:50:05 +0000 (00:50 +0000)] 
Fix load of null pointer

Found by: 0_o I am EMPTY, mister EMPTY, ZarTek-Creole
Patch by: michaelortmann
Fixes: #1389
15 months agoUpdate woobie mod docs
Geo [Mon, 13 Feb 2023 00:47:13 +0000 (19:47 -0500)] 
Update woobie mod docs

15 months agoRevert bind char change
Geo [Sun, 12 Feb 2023 21:58:45 +0000 (16:58 -0500)] 
Revert bind char change

... but keep DCC output of *

15 months agostrftime doc update
Michael Ortmann [Sun, 12 Feb 2023 21:30:55 +0000 (21:30 +0000)] 
strftime doc update

Patch by: michaelortmann

15 months agoAdd ssl header version to .status
Michael Ortmann [Sun, 12 Feb 2023 21:26:51 +0000 (21:26 +0000)] 
Add ssl header version to .status

Found by: wheel
Patch by: michaelortmann
Fixes: #1322
15 months agoWorkaround for TCL_UTF_MAX==3
Thomas Sader [Sun, 12 Feb 2023 19:21:20 +0000 (20:21 +0100)] 
Workaround for TCL_UTF_MAX==3

Found by: Empus
Patch by: thommey
Fixes: #1163
Ugly workaround that does not break current usage of emoji in the Tcl API. Our usage of the Tcl API is not correct because Eggdrop is encoding agnostic, and processes byte arrays only. Those however get passed to Tcl as strings, when they are not. The real solution is fairly complex (decode all bytes into strings with the proper encoding guess from/to the Tcl API).

If users are unable to recompile Tcl with increased TCL_UTF_MAX and are stuck with 8.6 stable (8.7 is not released as stable at the time of this PR), this should be a suitable, albeit ugly and complex, workaround that keeps emoji support alive.

We do not wish to break the currently working emoji usage however, which mostly works in the current state, except for a crash if passed to [string tolower/toupper/totitle], other problematic call sites aren't known.

So we overwrite Tcl's string tolower/toupper/totitle with our own version that:

    detects utf-8 sequences that are 4 bytes
    converts them into utf-8 encoded surrogate pairs before Tcl's string functions are called
    those remain untouched by case changes in Tcl
    convert the surrogate pairs back in the result to the original utf-8 4-byte code sequences

Side effect is that we also convert surrogate pairs if they were sent as such, which should not have a negative impact on existing scripts.

Single-byte encodings being valid 4-byte emoji sequences or 6-byte surrogate pairs is hopefully highly unlikely.

15 months agoCleanup: unused but set variable
Michael Ortmann [Sun, 12 Feb 2023 19:19:07 +0000 (19:19 +0000)] 
Cleanup: unused but set variable

Patch by: michaelortmann

15 months agoMake init_threaddata() return void
Michael Ortmann [Sun, 12 Feb 2023 19:18:39 +0000 (19:18 +0000)] 
Make init_threaddata() return void

Patch by: michaelortmann

15 months agoFix Twitch mod crash
Michael Ortmann [Sun, 12 Feb 2023 19:15:00 +0000 (19:15 +0000)] 
Fix Twitch mod crash

Found by: Lord255
Patch by: michaelortmann
Fixes: #1380
15 months agoAdd TLS doc link to botnet doc
Geo [Sun, 12 Feb 2023 19:12:47 +0000 (14:12 -0500)] 
Add TLS doc link to botnet doc

Found by: @ZarTek-Creole
Fixes: #1396
15 months agoUpdate Tcl repo
Geo [Sun, 12 Feb 2023 19:11:49 +0000 (14:11 -0500)] 
Update Tcl repo

Found by: @robert-scheck
Fixes: #1379
Confirmed with Tcl devs that they no longer maintain the FTP; updating suggested download repo in configure.

17 months agoFix openssl3 deprecation
Michael Ortmann [Fri, 30 Dec 2022 21:17:47 +0000 (21:17 +0000)] 
Fix openssl3 deprecation

Patch by: michaelortmann

17 months agofix clobbered var
Michael Ortmann [Fri, 30 Dec 2022 21:16:03 +0000 (21:16 +0000)] 
fix clobbered var

Patch by: michaelortmann

17 months agoFix doc links to binds
Simon Lyngshede [Fri, 30 Dec 2022 19:03:45 +0000 (20:03 +0100)] 
Fix doc links to binds

Patch by: @slyngshede

17 months agoOnly update bothost on own chghost
Geo [Mon, 19 Dec 2022 20:39:27 +0000 (15:39 -0500)] 
Only update bothost on own chghost

Found by: Geo
Patch by: Geo

Eggdrop incorrectly updated its own internally-tracked hostname with any host in a CHGHOST, whether it was intended for Eggdrop or not.

17 months agoUpdate BUG-REEPORT
Michael Ortmann [Mon, 19 Dec 2022 15:43:19 +0000 (15:43 +0000)] 
Update BUG-REEPORT

17 months agoFix some year 2038 problems
Michael Ortmann [Mon, 19 Dec 2022 15:41:20 +0000 (15:41 +0000)] 
Fix some year 2038 problems

Found by: michaelortmann
Patch by: michaelortmann and thommey

Fix time_t handling (buffer size, type and format specifier)
POSIX requires time_t to be an integer type, but does not mandate that it be signed or unsigned.
time_t to string conversion used buffersize 11, 10 chars + NULL-terminator, would overflow with unixtime >9999999999 (year 2286)

17 months agoincrease logfile length
Michael Ortmann [Sat, 17 Dec 2022 19:11:33 +0000 (19:11 +0000)] 
increase logfile length

17 months agoUpdate patchlevel 'logupdates'
Geo [Sat, 17 Dec 2022 19:10:44 +0000 (14:10 -0500)] 
Update patchlevel 'logupdates'

17 months agoFix sasl logging
Michael Ortmann [Sat, 17 Dec 2022 16:56:11 +0000 (16:56 +0000)] 
Fix sasl logging

Found by: michaelortmann
Patch by: michaelortmann

17 months agoIncrease nouserfile output
Michael Ortmann [Sat, 17 Dec 2022 16:52:28 +0000 (16:52 +0000)] 
Increase nouserfile output

Found by: michaelortmann
Patch by: michaelortmann

17 months agoUse IRC_CHANGINGSERV
Michael Ortmann [Sat, 17 Dec 2022 16:51:12 +0000 (16:51 +0000)] 
Use IRC_CHANGINGSERV

Found by: primalz
Patch by: michaelortmann
Fixes: #1327
17 months agoRoll patchlevel
Geo [Thu, 15 Dec 2022 02:10:46 +0000 (21:10 -0500)] 
Roll patchlevel

17 months agodont forget this little guy
Geo [Mon, 12 Dec 2022 22:46:05 +0000 (17:46 -0500)] 
dont forget this little guy

17 months agoupdate docs for 1.9.4
Geo [Mon, 12 Dec 2022 22:43:41 +0000 (17:43 -0500)] 
update docs for 1.9.4

17 months agoUpdate NEWS for 1.9.4
Geo [Mon, 12 Dec 2022 22:32:00 +0000 (17:32 -0500)] 
Update NEWS for 1.9.4

17 months agoAdd systemd option to autobotchk
Geo [Mon, 12 Dec 2022 02:26:40 +0000 (21:26 -0500)] 
Add systemd option to autobotchk

Patch by: @PeGaSuS-Coder , Geo

Adds a -systemd option to the autobotchk script. Will be considered Beta for now, and based on user feedback go stable in the next release.

17 months agoFix typo
Michael Ortmann [Sun, 11 Dec 2022 20:48:59 +0000 (20:48 +0000)] 
Fix typo

18 months agoRun autoconf
Geo [Thu, 10 Nov 2022 22:27:05 +0000 (17:27 -0500)] 
Run autoconf

18 months agoGenerate docs with 1.9.4 version
Geo [Thu, 10 Nov 2022 22:27:04 +0000 (17:27 -0500)] 
Generate docs with 1.9.4 version

18 months agoUpdate version strings to 1.9.4
Geo [Thu, 10 Nov 2022 22:26:52 +0000 (17:26 -0500)] 
Update version strings to 1.9.4

18 months agoUpdate NEWS
Geo [Thu, 10 Nov 2022 22:26:28 +0000 (17:26 -0500)] 
Update NEWS

18 months agoredo matching docs
Geo [Thu, 10 Nov 2022 17:07:00 +0000 (12:07 -0500)] 
redo matching docs

Linked to #1334

18 months agoFix matchattr without flags
Thomas Sader [Thu, 10 Nov 2022 17:06:04 +0000 (18:06 +0100)] 
Fix matchattr without flags

Fixes: #1267
The matchattr/bind flag string "-" or "-|-" is commonly used to match "anyone".
It isn't a real match because there are no flags specified so there is nothing
to match. - and | are just meta-characters that don't parse to modes that can match.

Found by: crazycatdevs
Patch by: thommey

19 months agoAvoid freeaddrinfo(NULL)
Michael Ortmann [Wed, 5 Oct 2022 23:41:41 +0000 (23:41 +0000)] 
Avoid freeaddrinfo(NULL)

Found by: Release_
Patch by: michaelortmann
Fixes: #1329
The behavior of freeadrinfo(NULL) is left unspecified by RFC 3493. Some Operating Systems like FreeBSD handle this for compatibility / portability but others like OpenBSD do not (as reported in #1329), so let eggdrop avoid calling freeadrinfo(NULL).

20 months agoFix typos
Michael Ortmann [Sat, 1 Oct 2022 14:03:20 +0000 (14:03 +0000)] 
Fix typos

20 months agoFix typo
PeGaSuS [Sat, 1 Oct 2022 14:01:03 +0000 (16:01 +0200)] 
Fix typo

20 months agoFix typos
Michael Ortmann [Tue, 27 Sep 2022 01:36:02 +0000 (01:36 +0000)] 
Fix typos

20 months agoUpdate install doc
crazycatdevs [Tue, 27 Sep 2022 01:32:33 +0000 (03:32 +0200)] 
Update install doc

Found by: CrazyCatDevs
Patch by: CrazyCatDevs

step 5 must be done in source directory, not in eggdrop directory

20 months agoUpdate doc typo
crazycatdevs [Tue, 27 Sep 2022 01:26:26 +0000 (03:26 +0200)] 
Update doc typo

A botnet needs at least 2 eggdrops!

20 months agodoc typo
Jonathan Rudolph [Tue, 27 Sep 2022 01:25:00 +0000 (18:25 -0700)] 
doc typo

Found by: SpiKe^^
Patch by: simple

20 months agoFix format specifier for intptr_t
Michael Ortmann [Tue, 27 Sep 2022 01:19:53 +0000 (01:19 +0000)] 
Fix format specifier for intptr_t

Found by: michaelortmann
Patch by: michaelortmann

Fix format specifier for intptr_t with c99 PRIdPTR that were shadowed by the use of egg_snprintf() and simple_sprintf() / use snprintf() for all getudef()

20 months agoAdd ACCOUNTS doc
Geo [Sun, 18 Sep 2022 21:32:54 +0000 (17:32 -0400)] 
Add ACCOUNTS doc

Patch by: Geo

20 months agoMove away and account change logs from console +j to +m
Thomas Sader [Sun, 18 Sep 2022 19:26:51 +0000 (21:26 +0200)] 
Move away and account change logs from console +j to +m

Found by: Geo
Patch by: Geo, thommey

20 months agoFormat fix for .channel
Thomas Sader [Sun, 18 Sep 2022 19:08:03 +0000 (21:08 +0200)] 
Format fix for .channel

20 months agoOffer the option to use account-tag for imperfect tracking
Thomas Sader [Sun, 18 Sep 2022 19:07:17 +0000 (21:07 +0200)] 
Offer the option to use account-tag for imperfect tracking

It must be explicitely enabled in the configuration. The requirements for
perfect tracking are now enabled by default.

Patch by: thommey

20 months agoEggdrop no longer interprets WHO response it didn't request in the WHOX case
Thomas Sader [Sun, 18 Sep 2022 19:06:08 +0000 (21:06 +0200)] 
Eggdrop no longer interprets WHO response it didn't request in the WHOX case

The response could have different arguments, so we now validate our query type
parameter is in the response. Tcl scripts wanting to poll WHO and eggdrop
to parse it, must send query type 222 in the same format as eggdrop requests it.

Found by: Geo
Patch by: thommey

20 months agoDocument how to wildcard match against an asterisk (*)
Thomas Sader [Sun, 18 Sep 2022 19:05:21 +0000 (21:05 +0200)] 
Document how to wildcard match against an asterisk (*)

20 months agoRaw and rawt bind now support wildcards, necessary for account-tag usage
Thomas Sader [Sun, 18 Sep 2022 19:04:52 +0000 (21:04 +0200)] 
Raw and rawt bind now support wildcards, necessary for account-tag usage

20 months agoMove account bind to irc.mod and normalize account bind.
Thomas Sader [Sun, 18 Sep 2022 19:02:59 +0000 (21:02 +0200)] 
Move account bind to irc.mod and normalize account bind.

accountname being "" means unknown, accountname being "*" is not logged into services.
Account bind is triggered whenever a known account changes.

Patch by: thommey

20 months agoFix tag handling in rawt
Geo [Tue, 6 Sep 2022 18:43:44 +0000 (14:43 -0400)] 
Fix tag handling in rawt

Found by: thommey
Patch by: Geo, thommey

Change RAWT tags to properly handle as a dict, not string
Properly log TAGMSG messages
Fix Twitch to handle change (while still preserving previous API)

20 months agoFix bottree format error
Geo [Tue, 6 Sep 2022 16:34:22 +0000 (12:34 -0400)] 
Fix bottree format error
Found by: SergioR

21 months agoFix shareout crash #1324 (see fb9f52ca)
Thomas Sader [Sun, 28 Aug 2022 14:54:40 +0000 (16:54 +0200)] 
Fix shareout crash #1324 (see fb9f52ca)

Bug was introduced in faec9000

Found by: ploxxusVulgaris
Patch by: thommey

Fixes: #1324
21 months agoUndo changes to format specifiers for hooked function shareout
Thomas Sader [Sun, 28 Aug 2022 14:50:59 +0000 (16:50 +0200)] 
Undo changes to format specifiers for hooked function shareout

Hooked functions are treated differently and this crashes the bot

21 months agoFix bad +host logmsg
Geo [Sat, 27 Aug 2022 18:01:06 +0000 (14:01 -0400)] 
Fix bad +host logmsg

Found by: thommey
Patch by: Geo

As part of the account tracking PR, a new shared function was added for +host and +account, but only +account checked the new return value of this function for an error in order to not display the "successful" message

21 months agoFix format specifiers
Thomas Sader [Sat, 27 Aug 2022 15:29:03 +0000 (17:29 +0200)] 
Fix format specifiers

Patch by: thommey
Fixes: #1176
Needs to be tested and compile tested on various platforms if possible.
Uses difftime() to print time_t when possible because printing time_t portably is very hard.

* Add compiler format specifier checking where possible
* Fix various printf-style specifiers and arguments
* add format specifiers

Co-authored-by: Geo <redacted>
21 months agoFix gotmsg being moved to raw, no tags available
Thomas Sader [Fri, 26 Aug 2022 07:53:02 +0000 (09:53 +0200)] 
Fix gotmsg being moved to raw, no tags available

21 months agoupdate version tag
Geo [Wed, 24 Aug 2022 23:33:16 +0000 (19:33 -0400)] 
update version tag

21 months agoFixes a DNS bug when DCC connections were disconnected while the DNS request was...
Thomas Sader [Wed, 24 Aug 2022 18:14:42 +0000 (20:14 +0200)] 
Fixes a DNS bug when DCC connections were disconnected while the DNS request was pending. Fixes #1174 (#1319)

Found by: DasBrain, ERR1R, CrazyCat
Patch by: thommey
Fixes: #1174 #1175
In a host->IP scenario, devent_t contains a malloc'd copy of the hostname.
In the IP->host scenario however, devent_t contained an outside allocated pointer
to ip_addr (sockname_t).
In the Tcl case it was embedded in the tclinfo structure, but in the DCC case
it pointed to the idx information in dcc[i].
"Lost connection" wipes that idx info and invalidates it, invalidating
the information about the pending dns request. That would then get stuck with
invalid data.

As soon as the idx is re-used however, the address is overwritten by answer(),
and dns thinks it already sent a request for that IP, also it gets stuck.

The fix treats IP->host the same as host->IP and dynamically allocates the IP
as it does with the hostname.

21 months agoMove gotmsg back to raw bind
Geo [Wed, 24 Aug 2022 18:13:10 +0000 (14:13 -0400)] 
Move gotmsg back to raw bind

Found by: CrazyCat

The gotmsg function was inadvertently moved to the rawt bind table from the raw bind table, which could cause issues with previously-written scripts attempting to unbind this internal functionality reference.

21 months agodoc updates
Geo [Thu, 11 Aug 2022 01:26:37 +0000 (21:26 -0400)] 
doc updates

21 months agoFix plain SASL when TLS unavailable
eryg-kai [Sun, 7 Aug 2022 17:42:01 +0000 (12:42 -0500)] 
Fix plain SASL when TLS unavailable

Found by: @eryg-kai
Patch by: @eryg-kai

Fix plain SASL auth when TLS is unavailable

There is common code after the if/else that was being omitted by an ifdef that should only be affecting the last else branch. This change brings this ifdef in line with the previous ifdef (utilizing an early `return 1`).

22 months agodocfix
Geo [Tue, 19 Jul 2022 16:38:01 +0000 (12:38 -0400)] 
docfix

22 months agodoc format fix
Geo [Tue, 12 Jul 2022 19:24:12 +0000 (15:24 -0400)] 
doc format fix

22 months agoRun autoconf
Geo [Tue, 12 Jul 2022 19:19:55 +0000 (15:19 -0400)] 
Run autoconf

22 months agoGenerate docs with 1.9.3 version
Geo [Tue, 12 Jul 2022 19:19:54 +0000 (15:19 -0400)] 
Generate docs with 1.9.3 version

22 months agoUpdate version strings to 1.9.3
Geo [Tue, 12 Jul 2022 19:19:44 +0000 (15:19 -0400)] 
Update version strings to 1.9.3

22 months agoremove old docs from newversion
Geo [Tue, 12 Jul 2022 19:19:38 +0000 (15:19 -0400)] 
remove old docs from newversion

22 months agoremove account2hand
Geo [Mon, 11 Jul 2022 21:24:23 +0000 (17:24 -0400)] 
remove account2hand

Instead modify finduser to search for account records in userfile
The desired functionality of account2hand will be present in the next release's version of nick2hand, so no need to create a superfluous command now

22 months agoFix extjoin config typo
Geo [Mon, 11 Jul 2022 18:39:43 +0000 (14:39 -0400)] 
Fix extjoin config typo

22 months agoupdate NEWS THANKS
Geo [Mon, 11 Jul 2022 18:39:00 +0000 (14:39 -0400)] 
update NEWS THANKS

22 months agoadd account2hand doc
Geo [Fri, 8 Jul 2022 21:37:05 +0000 (17:37 -0400)] 
add account2hand doc

22 months agoUpdate NEWS
Geo [Fri, 8 Jul 2022 21:36:32 +0000 (17:36 -0400)] 
Update NEWS

22 months agoreduce TLS log noise
Geo [Thu, 7 Jul 2022 15:24:12 +0000 (11:24 -0400)] 
reduce TLS log noise

reduce TLS log noise, and update save help

22 months agotypo fixes
Geo [Tue, 5 Jul 2022 16:12:14 +0000 (12:12 -0400)] 
typo fixes

22 months agocreate thread as detached
Michael Ortmann [Mon, 4 Jul 2022 18:27:33 +0000 (18:27 +0000)] 
create thread as detached

Found by: ]x[
Patch by: michaelortmann

 Fix pthread (out of memory) bug by creating thread as detached.

23 months agoUptime dns cache expiry
Thomas Sader [Sun, 3 Jul 2022 00:27:12 +0000 (02:27 +0200)] 
Uptime dns cache expiry

Found by: Geo
Patch by: thommey

every time we have to switch uptime server IPs we have this problem, this fixes it

23 months agoFix dcc ident, truncation warning
Michael Ortmann [Sat, 2 Jul 2022 20:54:44 +0000 (20:54 +0000)] 
Fix dcc ident, truncation warning

23 months agofix disable-ipv6
Michael Ortmann [Sat, 2 Jul 2022 20:53:47 +0000 (20:53 +0000)] 
fix disable-ipv6

Patch by: michaelortmann

23 months agofix account logic
Geo [Tue, 21 Jun 2022 01:10:22 +0000 (21:10 -0400)] 
fix account logic

23 months agoUpdate flood buffer size
Michael Ortmann [Sun, 19 Jun 2022 21:58:32 +0000 (21:58 +0000)] 
Update flood buffer size

23 months agomissing TLS ifdef
Geo [Sun, 19 Jun 2022 20:30:17 +0000 (16:30 -0400)] 
missing TLS ifdef

23 months agoadd missing ifdef TLS
Geo [Sun, 19 Jun 2022 20:07:30 +0000 (16:07 -0400)] 
add missing ifdef TLS

Introduced in #1147 / 844a6290

23 months agoUpdate documentation structure
Geo [Sun, 19 Jun 2022 16:41:14 +0000 (12:41 -0400)] 
Update documentation structure

New documentation structure, removes obsolete files, combines/reorganizes others

23 months agoUpdate inet_aton.c from FreeBSD uptream removes advertising clause (#967)
Michael Ortmann [Sat, 18 Jun 2022 03:57:45 +0000 (03:57 +0000)] 
Update inet_aton.c from FreeBSD uptream removes advertising clause (#967)

Found by: michaelortmann
Patch by: michaelortmann

The new https://github.com/freebsd/freebsd/blob/455de2f90f71a495eb5068b060c17de9bfcffda6/lib/libc/inet/inet_addr.c removes advertising clause from license. The only user of inet_aton() within eggdrop is one function in dns module. I tested this function and enhanced its logging.

23 months agoremove Context from modules
Michael Ortmann [Sat, 18 Jun 2022 03:48:00 +0000 (03:48 +0000)] 
remove Context from modules

Found by: michaelortmann
Patch by: michaelortmann

Remove Contexts that are artifacts, that dont help us debug eggdrop, instead they are even misleading. For example, when the twitch mod does Context; and (much) later the bot crashes, it will point into twitch mod, where the last Context; was set, even if the bug is outside twitch mod.

23 months agoAdd account tracking to Eggdrop
Geo [Fri, 17 Jun 2022 02:22:02 +0000 (22:22 -0400)] 
Add account tracking to Eggdrop

This merge adds a basic account tracking capability to Eggdrop. Reliable account tracking requires three server components: WHOX responses enabled, the extended-join capability, and the account-notify capability. Without WHOX supported by the server and extended-join and account-notify capabilities negotiated, account tracking is not reliable. To make this check easy for Tcl scripts, the "accounttracking" variable was implemented and can be easily checked to see if account-tracking is currently in a reliable state. Other major changes this PR implements:

- Adds ACCOUNT getuser/setuser setting
- Adds +account/-account commands to command line, to add an account to a handle
- Adds account2hand Tcl command that takes a nickname, checks if an account is associated and, if so, returns the handle the account is added to (if any)