summaryrefslogtreecommitdiff
path: root/src/commands.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands.cpp')
-rw-r--r--src/commands.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/commands.cpp b/src/commands.cpp
index 8cfc4d77b..eb9d12f4e 100644
--- a/src/commands.cpp
+++ b/src/commands.cpp
@@ -2047,4 +2047,8 @@ void handle_qline(char **parameters, int pcnt, userrec *user)
}
}
+void handle_version(char **parameters, int pcnt, userrec *user)
+{
+ WriteServ(user->fd,"351 %s :%s",user->nick,ServerInstance->GetVersionString().c_str());
+}