Load an MOTD on start

This commit is contained in:
2014-07-13 21:27:38 +02:00
parent 03ec980f26
commit aaedbf93f1
2 changed files with 43 additions and 0 deletions

View File

@@ -277,6 +277,13 @@ str_vector_free (struct str_vector *self)
self->vector = NULL;
}
static void
str_vector_reset (struct str_vector *self)
{
str_vector_free (self);
str_vector_init (self);
}
static void
str_vector_add_owned (struct str_vector *self, char *s)
{