[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

small tkserv patch



Hello,

this one should remove the need for TKSERV_ADMIN_OTHER

--- irc2.11.0/contrib/tkserv/tkserv.c.orig	Mon Nov  1 15:59:56 2004
+++ irc2.11.0/contrib/tkserv/tkserv.c	Wed Feb  2 19:45:18 2005
@@ -756,7 +756,9 @@
     {
         sendto_user(TKSERV_ADMIN_NAME);
         sendto_user(TKSERV_ADMIN_CONTACT);
+#ifdef TKSERV_ADMIN_OTHER
         sendto_user(TKSERV_ADMIN_OTHER);
+#endif
     }
     else if (!strcasecmp(cmd, "help"))
     {
--- irc2.11.0/support/tkconf.h.dist.orig	Mon Nov  1 15:36:57 2004
+++ irc2.11.0/support/tkconf.h.dist	Wed Feb  9 18:14:59 2005
@@ -10,6 +10,7 @@
 /* This will be shown on ADMIN requests */
 #define TKSERV_ADMIN_NAME    "Admin: Someone Somewhere"
 #define TKSERV_ADMIN_CONTACT "Mail: i.didnt@xxxxxxxxxxxxxxxxxx"
+/* this one isn't really needed so you can #undef it */
 #define TKSERV_ADMIN_OTHER   "SomeAdmin@IRCNet"
 
 /* This is the name of the service which appears on /servlist */

-- 
Matus UHLAR - fantomas, uhlar@xxxxxxxxxxx ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
I wonder how much deeper the ocean would be without sponges.