From 82fc993800255de6e11a3b739e064d639240903c Mon Sep 17 00:00:00 2001 From: w00t Date: Sat, 12 May 2007 17:58:59 +0000 Subject: This catch doesn't need to be here. :o git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6991 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/users.cpp | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/src/users.cpp b/src/users.cpp index e404d9107..cf3d4aa86 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -1585,17 +1585,7 @@ void userrec::WriteWallOps(const std::string &text) if (!IS_OPER(this) && IS_LOCAL(this)) return; - std::string wallop = "WALLOPS :"; - - try - { - wallop.append(text); - } - catch (...) - { - ServerInstance->Log(DEBUG,"Exception in userrec::Write() std::string::append"); - return; - } + std::string wallop = "WALLOPS :" + text; for (std::vector::const_iterator i = ServerInstance->local_users.begin(); i != ServerInstance->local_users.end(); i++) { -- cgit v1.2.3