Files
bitchx/source
Kevin Easton 0ba25f02a5 Simplify and clean up find_dll_command()
The only external change here is that it now always sets *cnt to 0 when it returns NULL

Previously, it could set it to -1 in some cases, in particular when dll_commands is NULL.
This led to a bug where /HELP would show the wrong number of matching commands, because it
added the return value of find_dll_command() to the number of matching internal commands.

Also fixes a set-but-unused-variable warning.
2017-11-27 17:18:15 +11:00
..
2017-06-28 00:03:09 +10:00
2017-05-10 23:41:32 +10:00
2017-07-11 19:01:09 +10:00
2017-11-24 17:29:51 +11:00