diff options
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r-- | src/inspircd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 4dc8cf03c..9f38eec7e 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -967,7 +967,7 @@ int main(int argc, char** argv) ServerInstance->Run(); DELETE(ServerInstance); } - catch (std::bad_alloc) + catch (std::bad_alloc&) { log(SPARSE,"You are out of memory! (got exception std::bad_alloc!)"); ServerInstance->SendError("**** OUT OF MEMORY **** We're gonna need a bigger boat!"); |