X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=nageru%2Ftheme.cpp;h=b53c65bc3434f61aae29904c242254893a672d75;hb=c109bb45b840bc48d265dd4bb03a3a27061b7eb7;hp=f7f752250615323ebcc1c4f7d37c4fd8770a0006;hpb=9f5622b1cb36a07b5b717ab5c4cbd938a550c7c3;p=nageru diff --git a/nageru/theme.cpp b/nageru/theme.cpp index f7f7522..b53c65b 100644 --- a/nageru/theme.cpp +++ b/nageru/theme.cpp @@ -1538,6 +1538,7 @@ string Theme::get_channel_name(unsigned channel) const char *ret = lua_tostring(L, -1); if (ret == nullptr) { fprintf(stderr, "function `channel_name' returned nil for channel %d\n", channel); + fprintf(stderr, "Try Nageru.set_channel_name(channel, name) at the start of the script instead.\n"); abort(); }