Author: Jean-Edouard Babin <Jeb@jeb.com.fr> (by way of Alex Badea <vampire@p16.pub...
authorAlex Badea <vampire@p16.pub.ro>
Thu, 30 May 2002 13:33:39 +0000 (13:33 +0000)
committerAlex Badea <vampire@p16.pub.ro>
Thu, 30 May 2002 13:33:39 +0000 (13:33 +0000)
Log message:

Fixed core bug in mr_server when you send insufficient arguments.

(pull-up from u2_10_11 branch)

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@763 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

ChangeLog
ircd/m_server.c

index 55fbcd8b5dd3cd40677045b50648227a1f3a30c0..ee65b317b11b4b757e18529a16067af97937c9f8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2002-05-30  Jean-Edouard Babin  <Jeb@jeb.com.fr>
+
+       * ircd/m_server.c (mr_server): fixed core bug on insufficient
+       arguments
+
 2002-05-26  Jeekay  <jeekay@irc.planetarion.com>
        
        * ircd/m_join.c (HasControlChars): fixed unsigned vs signed
index 78c8a95f88da564f70be2fb72a66ac8be9169ec7..c426132930b5ded5444fcf6f8e06fd865f9abf73 100644 (file)
@@ -151,7 +151,7 @@ int mr_server(struct Client* cptr, struct Client* sptr, int parc, char* parv[])
   recv_time = TStime();
   info[0] = '\0';
 
-  if (parc < 7)
+  if (parc < 8)
   {
     need_more_params(sptr, "SERVER");
     return exit_client(cptr, cptr, &me, "Need more parameters");