summaryrefslogtreecommitdiff
path: root/src/commands.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-15 13:44:17 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-15 13:44:17 +0000
commit0c55e6d24b32f2cc4e2b8106f2f4032e3197c211 (patch)
treef3a1995ae58a646d1002b2b9ffe39911e825544b /src/commands.cpp
parent02bfa585d05101058c6244a6aca1a5e030152f41 (diff)
Moved a ton of user related functions from inspircd.cpp to users.cpp
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2468 e03df62e-2008-0410-955e-edbf42e46eb7
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());
+}