[cvslog] Module eggdrop1.6: Change committed

cvslog cvs at tsss.org
Wed Dec 5 22:58:00 CST 2001


CVSROOT    : /usr/local/cvsroot
Module     : eggdrop1.6
Commit time: 2001-12-06 04:57:27 UTC
Commited by: Jeff Fisher <guppy at techmonkeys.org>

Modified files:
     doc/UPDATES1.6 src/mod/irc.mod/irc.c

Log message:

fixed a small annoying thing I just noticed concerning +statuslog being shown when we aren't on a server

---------------------- diff included ----------------------
Index: eggdrop1.6/doc/UPDATES1.6
diff -u eggdrop1.6/doc/UPDATES1.6:1.240 eggdrop1.6/doc/UPDATES1.6:1.241
--- eggdrop1.6/doc/UPDATES1.6:1.240	Wed Dec  5 22:52:18 2001
+++ eggdrop1.6/doc/UPDATES1.6	Wed Dec  5 22:57:17 2001
@@ -1,10 +1,11 @@
-$Id: UPDATES1.6,v 1.240 2001/12/06 04:52:18 guppy Exp $
+$Id: UPDATES1.6,v 1.241 2001/12/06 04:57:17 guppy Exp $
 
 Changes in eggdrop: (since v1.6.0)
 ----------------------------------
 
 1.6.7
 Found by  Fixed by  What...
+          guppy     don't show status_log if we don't have a server
 Wcc       ITE       lets make eggdrop work on cygwin again
 Wcc       guppy     fixed a mixed up transfer language entry that caused a crash
 various   nakee     added '--disable-cc-optimization' to disable -O2 flags
Index: eggdrop1.6/src/mod/irc.mod/irc.c
diff -u eggdrop1.6/src/mod/irc.mod/irc.c:1.58 eggdrop1.6/src/mod/irc.mod/irc.c:1.59
--- eggdrop1.6/src/mod/irc.mod/irc.c:1.58	Tue Dec  4 13:58:07 2001
+++ eggdrop1.6/src/mod/irc.mod/irc.c	Wed Dec  5 22:57:17 2001
@@ -2,7 +2,7 @@
  * irc.c -- part of irc.mod
  *   support for channels within the bot
  *
- * $Id: irc.c,v 1.58 2001/12/04 19:58:07 guppy Exp $
+ * $Id: irc.c,v 1.59 2001/12/06 04:57:17 guppy Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -474,6 +474,9 @@
   struct chanset_t *chan;
   char s[20], s2[20];
   int chops, voice, nonops, bans, invites, exempts;
+
+  if (!server_online)
+    return;
 
   for (chan = chanset; chan != NULL; chan = chan->next) {
     if (channel_active(chan) && channel_logstatus(chan) &&
----------------------- End of diff -----------------------



More information about the Changes mailing list