diff options
Diffstat (limited to 'src/commands/cmd_version.cpp')
-rw-r--r-- | src/commands/cmd_version.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<std::string>&, 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; } |