diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-05-04 12:57:35 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-05-04 12:57:35 +0000 |
commit | daa68cffe0b8231864dab7a89c72faececc00b3c (patch) | |
tree | a6d9da5a7e57979a32e5ffe6b772b3dbb0715edd /src/inspircd.cpp | |
parent | 6b72695ef6eb744bf8bff77ed228d63f7468e1d0 (diff) |
Fix to a mode parsing bug (eating wrong version of parameter?)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1304 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r-- | src/inspircd.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 5485c2352..937354837 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -2831,6 +2831,20 @@ void handle_version(char **parameters, int pcnt, userrec *user) } else { + if (!strcmp(parameters[0],"*")) + { + for (int j = 0; j < 32; j++) + { + if (me[j] != NULL) + { + for (int x = 0; x < me[j]->connectors.size(); x++) + { + WriteServ(user->fd,"351 %s :Server %d:%d (%s): %s",user->nick,j,x,me[j]->connectors[x].GetServerName().c_str(),me[j]->connectors[x].GetVersionString().c_str()); + } + } + } + return; + } if (match(ServerName,parameters[0])) { WriteServ(user->fd,"351 %s :%s",user->nick,GetVersionString().c_str()); |