Merge AddService(), AddClone() into AddLocalUser()
[srvx.git] / src / mod-helpserv.c
index e8053d541c658f4202e76b401aa20d221695d1da..3b8130e1d59bab732084bed6112582b5729ecc52 100644 (file)
@@ -2601,7 +2601,7 @@ static struct helpserv_bot *register_helpserv(const char *nick, const char *help
      * it's a harmless default */
     hs = calloc(1, sizeof(struct helpserv_bot));
 
-    if (!(hs->helpserv = AddService(nick, "+iok", helpserv_conf.description, NULL))) {
+    if (!(hs->helpserv = AddLocalUser(nick, nick, NULL, helpserv_conf.description, NULL))) {
         free(hs);
         return NULL;
     }