[cvslog] Module eggdrop1.7: Change committed

cvslog cvs at tsss.org
Sat Dec 8 14:04:01 CST 2001


CVSROOT    : /usr/local/cvsroot
Module     : eggdrop1.7
Commit time: 2001-12-08 20:03:30 UTC
Commited by: Federico Mennite <ite at techmonkeys.org>

Modified files:
     modules/irc/irc.c

Log message:

Don't show status_log if we don't have a server. Patch by Jeff Fisher <guppy at techmonkeys.org>

---------------------- diff included ----------------------
Index: eggdrop1.7/modules/irc/irc.c
diff -u eggdrop1.7/modules/irc/irc.c:1.2 eggdrop1.7/modules/irc/irc.c:1.3
--- eggdrop1.7/modules/irc/irc.c:1.2	Sat Dec  8 13:17:43 2001
+++ eggdrop1.7/modules/irc/irc.c	Sat Dec  8 14:03:20 2001
@@ -2,7 +2,7 @@
  * irc.c -- part of irc.mod
  *   support for channels within the bot
  *
- * $Id: irc.c,v 1.2 2001/12/08 19:17:43 ite Exp $
+ * $Id: irc.c,v 1.3 2001/12/08 20:03:20 ite Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -483,6 +483,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