mirror of
https://github.com/anope/anope.git
synced 2026-06-27 19:26:41 +02:00
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
This commit is contained in:
+1
-1
@@ -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())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user