summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/stash.cc
diff options
context:
space:
mode:
authorzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2008-05-27 01:48:13 +0000
committerzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2008-05-27 01:48:13 +0000
commit2aa69c8f83e2afd25a355bc1c70acb646f425b9f (patch)
tree5ecb316636fce46b3f62d9c4eb8bd1c983a58871 /crawl-ref/source/stash.cc
parent298d76bd71d68a4e8d3b9ceafbdad1aece9a8f44 (diff)
downloadcrawl-ref-2aa69c8f83e2afd25a355bc1c70acb646f425b9f.tar.gz
crawl-ref-2aa69c8f83e2afd25a355bc1c70acb646f425b9f.zip
Added "error" channel for runtime errors, and changed error messages that
used the "danger" or "warning" channels to use that. Sending an error message to the error channel has the side effect of interrupting all activity. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5276 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/stash.cc')
-rw-r--r--crawl-ref/source/stash.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/stash.cc b/crawl-ref/source/stash.cc
index ecc2fc9fe1..c6f8bc0ea6 100644
--- a/crawl-ref/source/stash.cc
+++ b/crawl-ref/source/stash.cc
@@ -66,7 +66,7 @@ std::string userdef_annotate_item(const char *s, const item_def *item,
lua_set_exclusive_item(item);
std::string ann;
if (!clua.callfn(s, "u>s", item, &ann) && !clua.error.empty())
- mprf(MSGCH_WARN, "Lua error: %s", clua.error.c_str());
+ mprf(MSGCH_ERROR, "Lua error: %s", clua.error.c_str());
if (exclusive)
lua_set_exclusive_item(NULL);
return (ann);