From 55808216a859688506a879f6197ca1abd2f51d1b Mon Sep 17 00:00:00 2001 From: danieldg Date: Mon, 15 Feb 2010 23:02:34 +0000 Subject: Show opers the raw VERSION string, not the custom one git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12470 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/commands/cmd_version.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/commands') diff --git a/src/commands/cmd_version.cpp b/src/commands/cmd_version.cpp index b16107fd0..3064c9440 100644 --- a/src/commands/cmd_version.cpp +++ b/src/commands/cmd_version.cpp @@ -48,7 +48,7 @@ class CommandVersion : public Command CmdResult CommandVersion::Handle (const std::vector&, User *user) { - user->WriteNumeric(RPL_VERSION, "%s :%s",user->nick.c_str(),ServerInstance->GetVersionString().c_str()); + user->WriteNumeric(RPL_VERSION, "%s :%s",user->nick.c_str(),ServerInstance->GetVersionString(IS_OPER(user)).c_str()); ServerInstance->Config->Send005(user); return CMD_SUCCESS; } -- cgit v1.2.3