diff options
author | DukePyrolator <DukePyrolator@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-09-12 18:39:07 +0000 |
---|---|---|
committer | DukePyrolator <DukePyrolator@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-09-12 18:39:07 +0000 |
commit | e3486a3e4bca3a72babc81bb9b916ef702f6779e (patch) | |
tree | 4dd0b41f26155f893147fd438d762f7b0af5c791 | |
parent | 5971c272be65d67f7651286ca3fc37a4282a4bd7 (diff) |
fixed a crashbug on /ns set kill. thanks to Phantomal for reporting.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2501 5417fbe8-f217-4b02-8779-1006273d7864
-rw-r--r-- | src/core/ns_set.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ns_set.c b/src/core/ns_set.c index eee6e2587..f7425aa42 100644 --- a/src/core/ns_set.c +++ b/src/core/ns_set.c @@ -227,7 +227,7 @@ class CommandNSSet : public Command CommandReturn DoSetKill(User *u, std::vector<ci::string> ¶ms, NickCore *nc) { - ci::string param = params.size() > 1 ? params[1] : NULL; + ci::string param = params.size() > 1 ? params[1] : ""; if (param.empty()) { |