This has already been patched, and we are in the process of releasing 1.1.8-p1 (the version number will NOT change in the software).
* svn up tags/1_1_8_release to get the fix. (latest trunk also has the fix)
* make install
* /quote reload notice
* /quote reload privmsg
We'll release an updated tarball and windows version shortly.