summaryrefslogtreecommitdiff
path: root/src/script/common/c_types.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/script/common/c_types.h')
-rw-r--r--src/script/common/c_types.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/script/common/c_types.h b/src/script/common/c_types.h
index 709d4f34b..706470737 100644
--- a/src/script/common/c_types.h
+++ b/src/script/common/c_types.h
@@ -55,14 +55,7 @@ public:
class LuaError : public ServerError
{
public:
- LuaError(lua_State *L, const std::string &s);
-
- virtual ~LuaError() throw()
- {}
- virtual const char * what() const throw()
- {
- return m_s.c_str();
- }
+ LuaError(const std::string &s) : ServerError(s) {}
};