Optimize order of checks in if() to minimize calls to match_it().
[ircu2.10.12-pk.git] / ChangeLog
index 34d1c0daaa896fcd10e5ce6ac33e3e3fa2bde5f4..dafc314c96da8c12f3f2f6742a829cebda58b7aa 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-03-17  Michael Poole <mdpoole@troilus.org>
+
+       * ircd/send.c (sendcmdto_match_butone): Move match_it() to the end
+       of the if() to minimize the number of expensive function calls.
+
 2009-03-17  Michael Poole <mdpoole@troilus.org>
 
        * patches/diffs/antispambot.diff: Forward port a patch by Dianora