summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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)