diff options
author | George Hazan <ghazan@miranda.im> | 2016-11-26 20:15:05 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2016-11-26 20:15:05 +0300 |
commit | e4c501febbf9460ec24f90efb479deb5e68a2494 (patch) | |
tree | fd10ba01480f248fd10d4d8aff8df10577631852 /protocols/IRCG/src/irclib.cpp | |
parent | d5960ef7a6e6764fd33e473ecd12a819e172dcef (diff) |
crash fix for IRC kick/makeop commands
Diffstat (limited to 'protocols/IRCG/src/irclib.cpp')
-rw-r--r-- | protocols/IRCG/src/irclib.cpp | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/protocols/IRCG/src/irclib.cpp b/protocols/IRCG/src/irclib.cpp index 36c9f09f40..d59717900a 100644 --- a/protocols/IRCG/src/irclib.cpp +++ b/protocols/IRCG/src/irclib.cpp @@ -658,14 +658,8 @@ void CIrcProto::OnIrcMessage(const CIrcMessage* pmsg) if (pfn) { // call member function. if it returns 'false', // call the default handling - __try { - if (!(this->*pfn)(pmsg)) - OnIrcDefault(pmsg); - } - __except (EXCEPTION_EXECUTE_HANDLER) // dedicated to Sava :) - { - debugLogA("IRC handler feels sick: %S", pmsg->sCommand.c_str()); - } + if (!(this->*pfn)(pmsg)) + OnIrcDefault(pmsg); } else // handler not found. call default handler OnIrcDefault(pmsg); |