From 062f72b3e9bbc05635d94d7fb292a081fdf5503c Mon Sep 17 00:00:00 2001 From: brain Date: Tue, 3 May 2005 13:47:53 +0000 Subject: Fixed 'no such server' when server is found git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1295 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/inspircd.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/inspircd.cpp') diff --git a/src/inspircd.cpp b/src/inspircd.cpp index c584ca187..bcd198e87 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -2860,7 +2860,10 @@ void handle_version(char **parameters, int pcnt, userrec *user) WriteServ(user->fd,"402 %s %s :Server %s has no version information",user->nick,parameters[0],parameters[0]); return; } - WriteServ(user->fd,"402 %s %s :No such server",user->nick,parameters[0]); + if (!found) + { + WriteServ(user->fd,"402 %s %s :No such server",user->nick,parameters[0]); + } } return; } -- cgit v1.2.3