diff options
author | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-03-06 23:26:20 +0000 |
---|---|---|
committer | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-03-06 23:26:20 +0000 |
commit | 16bd6166043189df8ae4e8292b6c01a81428ccb8 (patch) | |
tree | 9f5b5d0f8f41a50f1c132c2bfb19eaf19d9f3a8a /src | |
parent | 9a97a0b3cfdcfed3807318d782010abc26051b45 (diff) |
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
Diffstat (limited to 'src')
-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 7e44f9f03..9e00c0267 100644 --- a/src/core/ns_set.c +++ b/src/core/ns_set.c @@ -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 : ""); |