summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-04-28 19:52:31 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-04-28 19:52:31 +0000
commit76204b5c8415fb5f9c563ef1eda9b80e63c01b23 (patch)
treedc679e54463df05832d55573e2aad77128a4bd95
parent58bd067c54439abf748992f778c78573441019d0 (diff)
remote Versionstring set fixes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1246 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/commands.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands.cpp b/src/commands.cpp
index 11d0c2365..9bafb9da9 100644
--- a/src/commands.cpp
+++ b/src/commands.cpp
@@ -1835,7 +1835,7 @@ void handle_v(char token,char* params,serverrec* source,serverrec* reply, char*
char* servername = strtok(params," ");
char* versionstr = strtok(NULL,"\r\n");
ircd_connector* cn = reply->FindHost(servername);
- cn->SetVersionString(servername);
+ cn->SetVersionString(versionstr);
}
void handle_V(char token,char* params,serverrec* source,serverrec* reply, char* tcp_host)