X-Git-Url: https://jfr.im/git/irc/evilnet/x3.git/blobdiff_plain/ff3b058ac51e9caf5cf1fd310b8a401a97a85582..1f459b76a53574d798cd38127cd274d91adecc14:/src/mod-webtv.c diff --git a/src/mod-webtv.c b/src/mod-webtv.c index 1a4b574..714024b 100644 --- a/src/mod-webtv.c +++ b/src/mod-webtv.c @@ -434,7 +434,7 @@ webtv_finalize(void) { if (str) { webtv = webtv_conf.bot; const char *modes = conf_get_data("modules/webtv/modes", RECDB_QSTRING); - webtv = AddLocalUser(str, str, NULL, "WebTV IRC Service", modes ? modes : 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);