From 0c55e6d24b32f2cc4e2b8106f2f4032e3197c211 Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 15 Dec 2005 13:44:17 +0000 Subject: 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 --- src/commands.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/commands.cpp') 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()); +} -- cgit v1.2.3