mirror of
https://github.com/anope/anope.git
synced 2026-07-10 04:03:13 +02:00
Fix bug #1026, Anope shouldn't crash on /ns set greet now, was just a small but fatal typo.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2143 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
+1
-1
@@ -213,7 +213,7 @@ class CommandNSSet : public Command
|
||||
if (param)
|
||||
{
|
||||
char buf[BUFSIZE];
|
||||
const char *rest = params.size() > 1 ? params[2].c_str() : NULL;
|
||||
const char *rest = params.size() > 2 ? params[2].c_str() : NULL;
|
||||
|
||||
snprintf(buf, sizeof(buf), "%s%s%s", param, rest ? " " : "", rest ? rest : "");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user