[eggheads-patches] PATCH1.5: do_channel_part_fix_1.5.patch

Fabian Knittel fknittel at gmx.de
Mon Oct 30 08:01:01 CST 2000


[ do_channel_part_fix_1.5.patch ]

This patch fixes the IRC_DO_CHANNEL_PART call in channels.c, which
was missing the chan parameter. Might have caused your bot to crash
as soon as a channel was removed.  Thanks for finding this, Eule.

Fabian

--
Fabian Knittel <fknittel at gmx.de> -- http://www.esc-web.de/fabian/
Signed or encrypted mail preferred.    PGP DSA key ID: 0x838B4D20
-------------- next part --------------
diff -urN --exclude-from=/home/fabian/.diffex eggdrop1.5~/doc/UPDATES1.5 eggdrop1.5/doc/UPDATES1.5
--- eggdrop1.5~/doc/UPDATES1.5	Fri Oct 27 22:10:49 2000
+++ eggdrop1.5/doc/UPDATES1.5	Mon Oct 30 14:51:31 2000
@@ -4,6 +4,7 @@
 
 1.5.5
 Found by  Fixed by  What...
+Eule      Fabian    Fixed IRC_DO_CHANNEL_PART call from channels.c.
 Tothwolf  Fabian    Could not remove joining channel from procs called by
                     JOIN bind.
 fabulous  Fabian    The filesys module did not support remotely linked files.
diff -urN --exclude-from=/home/fabian/.diffex eggdrop1.5~/src/mod/channels.mod/channels.c eggdrop1.5/src/mod/channels.mod/channels.c
--- eggdrop1.5~/src/mod/channels.mod/channels.c	Fri Oct 27 21:48:45 2000
+++ eggdrop1.5/src/mod/channels.mod/channels.c	Mon Oct 30 14:49:54 2000
@@ -279,7 +279,7 @@
    (void) chanset_unlink(chan);
 
    if ((me = module_find("irc", 1, 3)) != NULL)
-     (me->funcs[IRC_DO_CHANNEL_PART])();
+     (me->funcs[IRC_DO_CHANNEL_PART])(chan);
 
    clear_channel(chan, 0);
    noshare = 1;




More information about the Patches mailing list