return chanserv_asprintf (NULL, "My %s variables are: ^ nick, %% number of joins, & Channel, $ user@host. Example: !setinfo ^ has joined & %% times (also, if you make the first char of your %s a \"+\", the %s will be shown as an ACTION).", cmd, cmd, cmd);
if ((db_argstostr (greeting, args, 0, ' ')) < 1)
- return;
+ return NULL;
update_setinfo (userhost, greeting, source);
return (result);
diff --git a/source/stats.c b/source/stats.c
--- a/source/stats.c
+++ b/source/stats.c
@@ -48,7 +48,7 @@
if ((ptr = strchr (temp, '\n')) != NULL)
*ptr = '\0';
result = chanserv_asprintf(result, "%s has asked %ld questions since %s, %s's last question was asked on %s", user, c->total, temp, user, ctime (&last_time));