{
audio_mapping *snd;
+ /* we do this check here first, in order to completely
+ * avoid doing the regex search when there won't be a
+ * sound anyway, despite a match.
+ */
if (soundprocs.sound_play_usersound) {
snd = sound_matches_message(msg);
if (snd) {
{
audio_mapping *snd;
+ /* we do this check here first, in order to completely
+ * avoid doing the regex search when there won't be a
+ * sound anyway, despite a match.
+ */
if (soundprocs.sound_play_usersound) {
snd = sound_matches_message(msg);
if (snd) {