Fix a crash when typing /privmsg with no args
authorTravis McHenry <wordsizzle@gmail.com>
Mon, 22 Feb 2010 05:27:05 +0000 (22:27 -0700)
committerTravis McHenry <wordsizzle@gmail.com>
Mon, 22 Feb 2010 05:27:05 +0000 (22:27 -0700)
commitfb495aba7d4e0a65b5c225dd323c8394b8e698bd
treea023baf421d640ca6a25f3168638add2925a774d
parent72fb97be5988451527479d09441f1240a27da8c1
Fix a crash when typing /privmsg with no args

Add a check to make sure we're given a recipient for the /privmsg
command. All other commands have this check included and are in
outputfilter.cpp..not sure why privmsg is different but this
check makes sense regardless.
src/irc/server.cpp