Use PC_SILENT macro in BX_prepare_command()

git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@138 13b04d17-f746-0410-82c6-800466cd88b0
This commit is contained in:
Kevin Easton
2011-09-06 06:55:38 +00:00
parent 736777bea3
commit 43aaf645e2

View File

@@ -4841,7 +4841,7 @@ ChannelList *chan = NULL;
channel = get_current_channel_by_refnum(0);
if (!channel) {
if (flags != 3) {
if (flags != PC_SILENT) {
if (current_window)
message_to(current_window->refnum);
bitchsay("You're not on a channel!");
@@ -4854,7 +4854,7 @@ ChannelList *chan = NULL;
*active_server = server;
if (!(chan = lookup_channel(channel, server, 0)))
{
if (flags != 3) {
if (flags != PC_SILENT) {
if (current_window)
message_to(current_window->refnum);
bitchsay("You're not on the channel: %s", channel);