From 8d551f26d54a44f3793ae729daf28eee15576061 Mon Sep 17 00:00:00 2001 From: Adam Date: Tue, 9 Aug 2011 18:37:33 -0400 Subject: [PATCH] Fixed crash in /ns set --- modules/core/ns_set.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/core/ns_set.cpp b/modules/core/ns_set.cpp index bfae7f508..fe49c99ea 100644 --- a/modules/core/ns_set.cpp +++ b/modules/core/ns_set.cpp @@ -124,7 +124,7 @@ class CommandNSSet : public Command class CommandNSSetDisplay : public Command { public: - CommandNSSetDisplay() : Command("DISPLAY", 1) + CommandNSSetDisplay() : Command("DISPLAY", 2) { this->SetDesc(_("Set the display of your group in Services")); } @@ -164,7 +164,7 @@ class CommandNSSetDisplay : public Command class CommandNSSetPassword : public Command { public: - CommandNSSetPassword() : Command("PASSWORD", 1) + CommandNSSetPassword() : Command("PASSWORD", 2) { this->SetDesc(_("Set your nickname password")); }