Skip to content

Commit

Permalink
Fixed bug in recompiling triggers
Browse files Browse the repository at this point in the history
  • Loading branch information
nickgammon committed Jun 25, 2014
1 parent c8a911a commit 8edf524
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dialogs/world_prefs/configuration.cpp
Expand Up @@ -2446,12 +2446,12 @@ int CMUSHclientDoc::RecompileRegularExpressions ()
} // end of try
catch(CException* e)
{
pTrigger->regexp = NULL;
e->Delete ();
iTriggerErrors++;
ColourNote ("red", "",
TFormat ("In %s, could not recompile trigger (%s) matching on: %s.",
(LPCTSTR) sPluginName, (LPCTSTR) pTrigger->strInternalName, (LPCTSTR) strRegexp));
pTrigger->regexp = NULL;
} // end of catch
} // end of for each trigger

Expand Down Expand Up @@ -2480,12 +2480,12 @@ int CMUSHclientDoc::RecompileRegularExpressions ()
} // end of try
catch(CException* e)
{
pAlias->regexp = NULL;
e->Delete ();
iAliasErrors++;
ColourNote ("red", "",
TFormat ("In %s, could not recompile alias (%s) matching on: %s.",
(LPCTSTR) sPluginName, (LPCTSTR) pAlias->strInternalName, (LPCTSTR) strRegexp));
pAlias->regexp = NULL;
} // end of catch
} // end of for each alias

Expand Down

0 comments on commit 8edf524

Please sign in to comment.