X-Git-Url: https://jfr.im/git/irc/evilnet/x3.git/blobdiff_plain/a32da4c70ca85b879f8162469ae37ffeca500b99..de9510bcaba3fc0377e09259f8b49921c421d269:/src/mod-helpserv.c diff --git a/src/mod-helpserv.c b/src/mod-helpserv.c index 5e8a513..6287c9a 100644 --- a/src/mod-helpserv.c +++ b/src/mod-helpserv.c @@ -1,7 +1,7 @@ /* mod-helpserv.c - Support Helper assistant service * Copyright 2002-2003 srvx Development Team * - * This file is part of srvx. + * This file is part of x3. * * srvx is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -1550,7 +1550,7 @@ static void free_request(void *data) { /* Logging */ if (shutting_down && (req->hs->persist_types[PERSIST_T_REQUEST] != PERSIST_CLOSE || !req->handle)) { - helpserv_log_request(req, "srvx shutdown"); + helpserv_log_request(req, "X3 shutdown"); } /* Clean up from the unhandled queue */ @@ -2246,7 +2246,7 @@ static HELPSERV_FUNC(cmd_move) { } if (!(hs->helpchan = GetChannel(newchan))) { - hs->helpchan = AddChannel(newchan, now, NULL, NULL); + hs->helpchan = AddChannel(newchan, now, NULL, NULL, NULL); AddChannelUser(hs->helpserv, hs->helpchan)->modes |= MODE_CHANOP; } else if (!helpserv_in_channel(hs, old_helpchan)) { struct mod_chanmode change; @@ -2607,7 +2607,7 @@ static struct helpserv_bot *register_helpserv(const char *nick, const char *help reg_privmsg_func(hs->helpserv, helpserv_botmsg); if (!(hs->helpchan = GetChannel(help_channel))) { - hs->helpchan = AddChannel(help_channel, now, NULL, NULL); + hs->helpchan = AddChannel(help_channel, now, NULL, NULL, NULL); AddChannelUser(hs->helpserv, hs->helpchan)->modes |= MODE_CHANOP; } else { struct mod_chanmode change; @@ -2854,7 +2854,7 @@ static void set_page_target(struct helpserv_bot *hs, enum page_source idx, const } new_target = GetChannel(target); if (!new_target) { - new_target = AddChannel(target, now, NULL, NULL); + new_target = AddChannel(target, now, NULL, NULL, NULL); AddChannelUser(hs->helpserv, new_target); } } else { @@ -3648,7 +3648,7 @@ static void helpserv_conf_read(void) { helpserv_conf.db_backup_frequency = str ? ParseInterval(str) : 7200; str = database_get_data(conf_node, "description", RECDB_QSTRING); - helpserv_conf.description = str; + helpserv_conf.description = str ? str : "Help Queue Manager"; str = database_get_data(conf_node, "reqlogfile", RECDB_QSTRING); if (str && strlen(str))