*
* x3 is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
if (str) {
webtv = webtv_conf.bot;
const char *modes = conf_get_data("modules/webtv/modes", RECDB_QSTRING);
- webtv = AddService(str, modes ? modes : NULL, "WebTV IRC Service", NULL);
+ webtv = AddLocalUser(str, str, NULL, "WebTV IRC Service", modes);
} else {
log_module(WB_LOG, LOG_ERROR, "database_get_data for webtv_conf.bot failed!");
exit(1);