]> jfr.im git - irc/unrealircd/unrealircd.git/commitdiff
- #0003287 reported and patched by satmd regarding 318 end of /whois list
authorstskeeps <redacted>
Tue, 24 Apr 2007 10:41:36 +0000 (10:41 +0000)
committerstskeeps <redacted>
Tue, 24 Apr 2007 10:41:36 +0000 (10:41 +0000)
  breaks RFC
- Fixed a typo in #003091 related patch

Changes
Makefile.in
src/modules/m_whois.c

diff --git a/Changes b/Changes
index 0bfcecda84fbc4c87d02ac41e22ae33e635c5d2c..3a58af694913f7aeae1abb1382718b707587cf72 100644 (file)
--- a/Changes
+++ b/Changes
@@ -1605,3 +1605,6 @@ MOTDs
 - #0003216 patched by djGrrr, regarding when you run ./Config for a second
   time after settings are saved in config.settings, the SSLDIR and ZIPLINKSDIR
   defaults are basically completely ignored.
+- #0003287 reported and patched by satmd regarding 318 end of /whois list
+  breaks RFC 
+- Fixed a typo in #003091 related patch
index 02d08c25884cb862919b0c2e2baf9ee2c0960775..d75d799242fedff2095dfe1de13acc326577e6de 100644 (file)
@@ -203,7 +203,7 @@ depend:
 
 install: all
        $(INSTALL) -m 0700 -d $(IRCDDIR)
-       $(INSTALL) -m 0700 -d $(BINDDIR)
+       $(INSTALL) -m 0700 -d $(BINDIR)
        $(INSTALL) -m 0700 src/ircd $(BINDIR)
        $(INSTALL) -m 0700 -d $(IRCDDIR)/doc
        $(INSTALL) -m 0600 doc/Authors doc/example.conf doc/coding-guidelines doc/tao.of.irc doc/unreal32docs.html $(IRCDDIR)/doc
index 823442acc91f6bfb029f3d80adbe24ce234b8d07..6feaf555e7ca473b0c812944253b79f9a44e4c64 100644 (file)
@@ -336,8 +336,9 @@ DLLFUNC int  m_whois(aClient *cptr, aClient *sptr, int parc, char *parv[])
                if (!found)
                        sendto_one(sptr, err_str(ERR_NOSUCHNICK),
                            me.name, parv[0], nick);
+               else
+                       sendto_one(sptr, rpl_str(RPL_ENDOFWHOIS), me.name, parv[0], nick);
        }
-       sendto_one(sptr, rpl_str(RPL_ENDOFWHOIS), me.name, parv[0], querybuf);
 
        return 0;
 }