summaryrefslogtreecommitdiff
path: root/src/commands.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands.cpp')
-rw-r--r--src/commands.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands.cpp b/src/commands.cpp
index 3cadb1e83..05e0a951c 100644
--- a/src/commands.cpp
+++ b/src/commands.cpp
@@ -1856,7 +1856,7 @@ void handle_v(char token,char* params,serverrec* source,serverrec* reply, char*
{
for (int x = 0; x < me[j]->connectors.size(); x++)
{
- if (match(me[j]->connectors[x].GetServerName().c_str(),servername))
+ if (!strcasecmp(me[j]->connectors[x].GetServerName().c_str(),servername))
{
me[j]->connectors[x].SetVersionString(versionstr);
}