From 43aaf645e289717631bed5247e2329cb5d6746a7 Mon Sep 17 00:00:00 2001 From: Kevin Easton Date: Tue, 6 Sep 2011 06:55:38 +0000 Subject: [PATCH] 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 --- source/misc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/misc.c b/source/misc.c index 2961b98..c357158 100644 --- a/source/misc.c +++ b/source/misc.c @@ -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);