1
0
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:
cyberbotx
2009-03-06 23:26:20 +00:00
parent 9a97a0b3cf
commit 16bd616604
+1 -1
View File
@@ -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 : "");