[cvslog] Module eggdrop1.7: Change committed

cvslog cvs at tsss.org
Sun Oct 14 05:56:01 CST 2001


CVSROOT    : /usr/local/cvsroot
Module     : eggdrop1.7
Commit time: 2001-10-14 10:55:34 UTC
Commited by: Tothwolf <tothwolf at techmonkeys.org>

Modified files:
     src/mod/server.mod/servmsg.c

Log message:

* lets make sure nick and uhost are not NULL

---------------------- diff included ----------------------
Index: eggdrop1.7/src/mod/server.mod/servmsg.c
diff -u eggdrop1.7/src/mod/server.mod/servmsg.c:1.74 eggdrop1.7/src/mod/server.mod/servmsg.c:1.75
--- eggdrop1.7/src/mod/server.mod/servmsg.c:1.74	Sun Oct 14 05:37:32 2001
+++ eggdrop1.7/src/mod/server.mod/servmsg.c	Sun Oct 14 05:55:24 2001
@@ -1,7 +1,7 @@
 /*
  * servmsg.c -- part of server.mod
  *
- * $Id: servmsg.c,v 1.74 2001/10/14 10:37:32 tothwolf Exp $
+ * $Id: servmsg.c,v 1.75 2001/10/14 10:55:24 tothwolf Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -569,7 +569,7 @@
 	     nick, uhost, to, msg);
     } else {
       /* Server notice? */
-      if ((nick[0] == 0) || (uhost[0] == 0)) {
+      if (!nick || !uhost) {
 	/* Hidden `250' connection count message from server */
 	if (strncmp(msg, "Highest connection count:", 25))
 	  putlog(LOG_SERV, "*", "-NOTICE- %s", msg);
----------------------- End of diff -----------------------



More information about the Changes mailing list