diff options
author | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2010-04-13 18:37:35 +0000 |
---|---|---|
committer | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2010-04-13 18:37:35 +0000 |
commit | 12a4aa4dba5d65b301dcf7292a2789aa5176fe7b (patch) | |
tree | 98c46934dcf1c7dc2e279ea7ad5d4674249b9270 /src/core/ns_recover.c | |
parent | a53719d91e441aba331a144ed8c8b3debbc5c847 (diff) |
Fixed crash on /ns release and made release actually work
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2891 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/core/ns_recover.c')
-rw-r--r-- | src/core/ns_recover.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ns_recover.c b/src/core/ns_recover.c index 3a0a9cedd..23b284e46 100644 --- a/src/core/ns_recover.c +++ b/src/core/ns_recover.c @@ -26,7 +26,7 @@ class CommandNSRecover : public Command CommandReturn Execute(User *u, const std::vector<ci::string> ¶ms) { const char *nick = params[0].c_str(); - std::string pass = params.size() > 1 ? params[1].c_str() : NULL; + std::string pass = params.size() > 1 ? params[1].c_str() : ""; NickAlias *na; User *u2; |