projects
/
srvx.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge AddService(), AddClone() into AddLocalUser()
[srvx.git]
/
src
/
mod-helpserv.c
diff --git
a/src/mod-helpserv.c
b/src/mod-helpserv.c
index e8053d541c658f4202e76b401aa20d221695d1da..3b8130e1d59bab732084bed6112582b5729ecc52 100644
(file)
--- a/
src/mod-helpserv.c
+++ b/
src/mod-helpserv.c
@@
-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));
* it's a harmless default */
hs = calloc(1, sizeof(struct helpserv_bot));
- if (!(hs->helpserv = Add
Service(nick, "+iok"
, helpserv_conf.description, NULL))) {
+ if (!(hs->helpserv = Add
LocalUser(nick, nick, NULL
, helpserv_conf.description, NULL))) {
free(hs);
return NULL;
}
free(hs);
return NULL;
}