diff options
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_spanningtree/treesocket1.cpp | 2 | ||||
-rw-r--r-- | src/modules/rpc.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_spanningtree/treesocket1.cpp b/src/modules/m_spanningtree/treesocket1.cpp index 6790fda83..2c8fc34a9 100644 --- a/src/modules/m_spanningtree/treesocket1.cpp +++ b/src/modules/m_spanningtree/treesocket1.cpp @@ -1071,7 +1071,7 @@ bool TreeSocket::ParseUID(const std::string &source, std::deque<std::string> &pa { _new = new userrec(this->Instance, params[0]); } - catch (CoreException &e) + catch (...) { SendError("Protocol violation - Duplicate UUID '" + params[0] + "' on introduction of new user"); return false; diff --git a/src/modules/rpc.h b/src/modules/rpc.h index cdaec4082..c9acc3b7d 100644 --- a/src/modules/rpc.h +++ b/src/modules/rpc.h @@ -238,7 +238,7 @@ class RPCValue : public classbase return it->second; } - std::pair<RPCObjectContainer::iterator,RPCObjectContainer::iterator> GetObjectIterator() throw() + std::pair<RPCObjectContainer::iterator,RPCObjectContainer::iterator> GetObjectIterator() { if (type != RPCObject) throw std::runtime_error("Cannot get iterator for a non-object RPC value"); |