From 9e216fe7fa3dbefa1a06cd6d28e3eabc0d511312 Mon Sep 17 00:00:00 2001 From: stskeeps Date: Sat, 3 Feb 2001 07:32:45 +0000 Subject: [PATCH] +- Fixed a little problem with SERVER servername :info crashing the ircd + Long live the Floridan way of counting --- Changes | 2 ++ src/s_serv.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Changes b/Changes index 029101ee1..71f15dd2c 100644 --- a/Changes +++ b/Changes @@ -173,3 +173,5 @@ - Made /trace work again properly with class names - Made /sqline /unsqline work again. - Made SQLINE synching work with newconf +- Fixed a little problem with SERVER servername :info crashing the ircd + Long live the Floridan way of counting diff --git a/src/s_serv.c b/src/s_serv.c index 3a20e5fdb..bcf358db6 100644 --- a/src/s_serv.c +++ b/src/s_serv.c @@ -601,7 +601,7 @@ int m_server(cptr, sptr, parc, parv) /* * We do some parameter checks now. We want atleast upto serverinfo now */ - if (parc < 3 || (!*parv[3])) + if (parc < 4 || (!*parv[3])) { sendto_one(sptr, "ERROR :Not enough SERVER parameters"); return 0;